Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Monitoring & Logging: add datatype to transfer events. #4557
The commit takes quite a dirty approach of retrieving the `datatype` directly via a sql query when preparing the message. There is no easy way to improve that: - In all code path, there is a lot of logic between the moment when we retrieve the work queue from the database and the moment when we sent the message. Forwarding the datatype through all the call stack will make the code more complicated. - We cannot import from core.dids here, because it creates a circular import problem. So using existing get_metadata calls is not easily achievable to avoid a raw database call.
- Loading branch information
Showing
3 changed files
with
25 additions
and
3 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