-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.DailyKSv2KSv2ExternalAdded to denote the issue can be worked on by a contributorAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewHas a PR in review
Description
Problem
It's difficult to recognize when there is an issue with the App's network queue especially in production. If the queue gets stuck and fails to process any new requests, it's difficult to recognize when this is happening without logging. This is a critical problem because all reads are blocked on the write queue.
Solution
Add the current length of the network queue to the log whenever another API command is queued. This should make it easy to recognize when the app is failing to clear the queue just by viewing logs.
Specifically, we should
- log the length of persistedRequests when requests get added to the SequentialQueue
- log when a read is being blocked by queued writes here
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~013c1fa89f2e72f914
- Upwork Job ID: 1780254517492736000
- Last Price Increase: 2024-04-16
- Automatic offers:
- tienifr | Contributor | 0
Metadata
Metadata
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.DailyKSv2KSv2ExternalAdded to denote the issue can be worked on by a contributorAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewHas a PR in review