nodepool/nodepool
James E. Blair a62060a14e Measure rate limits from start times
The RateLimiter utility used by several drivers measures time from
the exit of one context manager to the beginning of the next.  This
means that if the API call itself takes substantial time, it will
be added to the expected delay.  In other words, if the expected rate
is one API call every two seconds, and the API call itself takes
one second, the actual rate will be one call every three seconds.

To more closely approximate the overall expected rate, measure from
start to start, so that the duration of the API call itself is
included.

Change-Id: Ia62a6bfa6a3e6cac65f0c20179edcfbc94a5dcc5
2022-05-02 13:29:23 -07:00
..
cmd Merge "Add zookeeper-timeout connection config" 2022-03-24 15:23:02 +00:00
driver Measure rate limits from start times 2022-05-02 13:29:23 -07:00
releasenotes/notes Filter active images for OpenStack provider 2020-03-17 16:26:50 +01:00
tests Merge "Delete AWS image builds" 2022-04-27 22:58:24 +00:00
__init__.py Initial commit 2013-08-15 09:47:23 -07:00
builder.py Merge "Add zookeeper-timeout connection config" 2022-03-24 15:23:02 +00:00
config.py Merge "Add zookeeper-timeout connection config" 2022-03-24 15:23:02 +00:00
exceptions.py Remove uneeded shebang and exec bit on some files 2019-12-13 19:30:03 +01:00
launcher.py Merge "Delete init nodes when resetting lost requests" 2022-04-28 06:04:39 +00:00
logconfig.py Format multi-line log entries 2021-03-05 13:34:19 -08:00
nodeutils.py First ensure ssh connection is valid before scanning keys 2021-07-19 08:58:56 -04:00
provider_manager.py Improve handling of errors in provider manager startup 2022-01-14 19:07:32 -08:00
stats.py Export current tenant limit stats 2022-01-07 09:27:31 +01:00
status.py Ignore unparsable/empty image build ZNode data 2020-10-06 12:44:18 +02:00
version.py Switch docs theme to versioned RTD 2021-12-16 11:23:30 -08:00
webapp.py Add ready endpoint to webapp 2019-12-21 10:06:55 +00:00
zk.py Merge "Add zookeeper-timeout connection config" 2022-03-24 15:23:02 +00:00