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 build run regularly #14

Open
derhuerst opened this issue Jan 17, 2018 · 2 comments
Open

make the build run regularly #14

derhuerst opened this issue Jan 17, 2018 · 2 comments

Comments

@derhuerst
Copy link
Owner

The DB HAFAS API seems to block IPs sending too many requests. Find a way around that or compute the weight differently.

@derhuerst
Copy link
Owner Author

derhuerst commented Jan 24, 2018

Use db-hafas/throttle in combination with compute-db-station-weight/lib/weights and hafas-estimate-station-weight in the build script and find a reasonable throttling limit. Keep that several build scrupts may run in parallel or in rapid succession.

@derhuerst
Copy link
Owner Author

put throttling in place in 9f28aef and migrated to Codeship, which has a higher time limit for builds. They don't have a cron feature, unfortunately.

@derhuerst derhuerst changed the title build problems make the build run regularly Feb 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant