Closed Bug 1680224 Opened 4 years ago Closed 4 years ago

Return a specific wait interval value with PingUploadTask::Wait

Categories

(Data Platform and Tools :: Glean: SDK, task, P1)

task

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: brizental, Assigned: brizental)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The Wait task is returned in these situations:

  1. When the ping rate limit is reached
  2. When the client requests an upload task while glean-core is still scanning the ping directories.

Since glean-core doesn't return a specific wait time, the bindings default to sleeping for 60s whenever they receive a Wait task, but that is too long a wait time for case 2.

We should add a value to Wait and tell the bindings specifically how much time they should wait when they get this task.

This will also unblock Bug 1676853.

Blocks: 1676853
See Also: → 1679949
See Also: → 1647630
Assignee: nobody → brizental
Priority: P3 → P2
Whiteboard: [telemetry:glean-rs:m?]
Priority: P2 → P1
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: