You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we are ready (all the other task cards for this story are complete), we'll want to switch over the sync mechanism to use background workers. This will mean we'll need a feature toggle.
CC: I'd suggest we toggle the feature using a node environment variable - something like BACKGROUND_SYNC. We'll need to consider how to then access this from the client. We have a few options:
Inject the env var into the client js script (we'll need to be careful with caching)
Inject the env var into the markup (again, we'll need to consider caching)
Inject the env var into the sync (although now there'll be two locations - one for each of the sync implementations).
After requesting the new sync, the client should continue to show the spinner, and disable the sync button as per the current sync.
Ideally, the decision of what sync to trigger and the return of the results will be encapsulated by `queries/sync-query` - the api will remain as:
Promise<syncdata> execute()
This will allow the rest of the client to remain unchanged.
The text was updated successfully, but these errors were encountered:
Mingle Card: 2449
See #2439 for story details.
Task
When we are ready (all the other task cards for this story are complete), we'll want to switch over the sync mechanism to use background workers. This will mean we'll need a feature toggle.
CC: I'd suggest we toggle the feature using a node environment variable - something like BACKGROUND_SYNC. We'll need to consider how to then access this from the client. We have a few options:
After requesting the new sync, the client should continue to show the spinner, and disable the sync button as per the current sync.
Ideally, the decision of what sync to trigger and the return of the results will be encapsulated by `queries/sync-query` - the api will remain as:
This will allow the rest of the client to remain unchanged.
The text was updated successfully, but these errors were encountered: