Skip to content

Remove SleepTimer as it is error prone and rely on Pusher instead #3892

@marcaaron

Description

@marcaaron

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

Normal app usage

I've been online without any changes in network status, and noticed E.cash on desktop web had the "syncing" icon. I looked and saw countless pages of this -- what is it doing?

Expected Result:

The app should only re-fetch data when necessary

Actual Result:

@quinthar noticed that the desktop app was "syncing" for no reason and saw this in the logs:

image (7)

  • These logs mean that the desktop/web app is repeatedly "polling for data" for some reason.

Workaround:

Yes, but this could create a particularly bad situation if this were to happen on mobile for a user with a large number of reports as we'd be firing off many unnecessary API requests.

Platform:

Web
Desktop App

Version Number:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:

View all open jobs on Upwork

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions