-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat : Improve event tracking with TrackWorkRequest with Host peer ID…
… for work requests - Add TrackWorkRequest in event_library.go to use host node's peer ID - Modify SearchTweetsRecent in handlers_data.go to pass Host peer ID - Add null checks for EventTracker and Node in API handlers - Ensure proper initialization of EventTracker in NewAPI function - Update API struct to include EventTracker field - Add debug logging for EventTracker creation and API initialization This commit enhances the accuracy of event tracking by using the host node's peer ID instead of the client IP when logging work requests. It also improves robustness with additional null checks and error handling.
- Loading branch information
1 parent
e892096
commit 333951c
Showing
5 changed files
with
51 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters