mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-06 04:09:40 -06:00
Add tracing to antivirus.
This PR adds tracing to the Antivirus service.
This commit is contained in:
@@ -55,6 +55,8 @@ func (pps *PostprocessingService) Run() error {
|
||||
err error
|
||||
)
|
||||
|
||||
ctx = e.GetTraceContext(ctx)
|
||||
|
||||
switch ev := e.Event.(type) {
|
||||
case events.BytesReceived:
|
||||
pp = postprocessing.New(ev.UploadID, ev.URL, ev.ExecutingUser, ev.Filename, ev.Filesize, ev.ResourceID, pps.steps, pps.c.Delayprocessing)
|
||||
|
||||
Reference in New Issue
Block a user