Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the sync polling interval configurable #26

Open
garethbowen opened this issue Oct 13, 2020 · 2 comments
Open

Make the sync polling interval configurable #26

garethbowen opened this issue Oct 13, 2020 · 2 comments

Comments

@garethbowen
Copy link

The sync polling interval is hardcoded to 10 minutes but for our use case and on our RapidPro server we'd like a much shorter interval, for example, 1 minute. Please make this variable configurable through settings rather than hardcoded.

@nicpottier
Copy link
Member

Syncing really should only be a last resort, Firebase should be waking your device to cause it to sync automatically if you have everything correctly configured. But if you want to submit a PR to make this an advanced setting then we can take a look.

@Hareet
Copy link

Hareet commented Oct 26, 2020

Hi @nicpottier !

I've created a Firebase console config and placed the API key in temba/settings.py as per your comment here: #20

There was some configuration related to google-services.json and inserting code into the application from Google Firebase docs. Do you have any further docs on RapidPro's side or pointers to verify the configuration is working as intended?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants