google / cloud-forensics-utils

Python library to carry out DFIR analysis on the Cloud
Apache License 2.0
453 stars 89 forks source link

Increase throttle sleep time #334

Closed giovannt0 closed 3 years ago

giovannt0 commented 3 years ago

Closes #249 The official documentation [0] mentions 1 call per second and per project; I think there's a slight delay/difference between python sleeping and the API registering the call, which makes the API think that there was more than 60 calls in a minute. By sleeping 50% longer, we should limit this difference.

[0] https://cloud.google.com/logging/quotas

codecov-commenter commented 3 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@d8467a4). Click here to learn what that means. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #334   +/-   ##
=======================================
  Coverage        ?   64.20%           
=======================================
  Files           ?       33           
  Lines           ?     2422           
  Branches        ?        0           
=======================================
  Hits            ?     1555           
  Misses          ?      867           
  Partials        ?        0           
Flag Coverage Δ
nosetests 64.20% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d8467a4...12338a2. Read the comment docs.