ubicloud/prog/vm
Enes Cakir ebc5a6e750 Increase nap time at GithubRunner.wait
In the GitHubRunner.wait method, we check whether the runner script is
running or if it has been idle for 5 minutes without picking up a job.
We increment the destroy semaphore upon receiving a webhook event from
GitHub. Previously, I had set the nap time to 15 seconds because I was
unaware that we update the scheduled time when we increase the
semaphore. My intention was to deprovision the virtual machine and free
up our capacity as quickly as possible. However, since we update the
scheduled time when we increase the semaphore, there's no need to run
the wait method frequently. As a result, I've increased the nap time to
60 seconds.

Additionally, this method is one of the most time-consuming for
respirate. I believe this change will help reduce the overall time.
2024-11-19 11:31:50 +03:00
..
github_runner.rb Increase nap time at GithubRunner.wait 2024-11-19 11:31:50 +03:00
host_nexus.rb Remove helsinki region 2024-11-05 23:47:48 +03:00
nexus.rb Vm::Nexus.assemble clean-up for private networking setup 2024-11-07 09:24:29 +01:00
prep_host.rb Colour the prompt of the VmHost for production hosts 2023-11-24 10:12:59 +03:00
update_ipv6.rb Add IPv6 reassignment functionality 2024-05-31 09:14:38 +02:00
vm_pool.rb Keeping github runner uid update changes (Revert #1310, re-revert #1295) 2024-02-28 08:42:50 -08:00