-
Notifications
You must be signed in to change notification settings - Fork 0
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
Migrate sync process #2
Comments
I don't think the trigger approach would work in this case. Reason being is that updating temporal and/or spatial information on a dataset level requires going through all resources, which is very expensive. It would mean waiting for ~5 min after any changes to resources. I think manual sync trigger is probably the easiest approach, especially if it is run as a cronjob
(where the endpoint is Let me know what you think! |
I see the problem. Question?What happened in the following use case?
Should the user wait 5 minutes to use the datasets? DeployI'm using the docker-compose.
Where cronjobs is the file that contains your cronjobs, in this form:
|
The sync is there to update spatial and temporal coverages for a dataset. Everything else should be available immediately. So in the scenario you described, searching the dataset by its name should work right away, but searching by the specific spatial extent might return the newest results As for adding a crontab, I just want to clarify: do you want to me to spin up a crontab container from the existing |
I prefer a crontab container because the services can be in the same place. |
According to @dnfeldman
Can you use a postgres trigger? It makes from me
The text was updated successfully, but these errors were encountered: