beam-cloud / beta9

Run GPU Workloads Across Multiple Clouds
https://docs.beam.cloud
GNU Affero General Public License v3.0
408 stars 20 forks source link

[Bug] Worker timeout applies to on start function #324

Closed jsun-m closed 3 months ago

jsun-m commented 3 months ago

Gunicorn worker timeout is based off the difference between current_time and the last_modified time of tmp file that belongs to the Worker.

This method here forcefully keeps the worker's post_fork method alive by updating that tmp every second