Commit 489569f9 authored by hardy's avatar hardy

add delay to overcome google api quota

parent b79fe290
...@@ -45,6 +45,8 @@ import gitlab ...@@ -45,6 +45,8 @@ import gitlab
import yaml import yaml
import os import os
import pickle import pickle
import time
from sqlconnect import SQLConnect from sqlconnect import SQLConnect
...@@ -203,6 +205,7 @@ class gDashboard: ...@@ -203,6 +205,7 @@ class gDashboard:
#insert the final row to worksheet #insert the final row to worksheet
self.sheet.insert_row(row, index=i, value_input_option='RAW') self.sheet.insert_row(row, index=i, value_input_option='RAW')
time.sleep(20)
#add MR hyperlinks in a list of requests to be sent as one update batch; this to save API calls (quotas) #add MR hyperlinks in a list of requests to be sent as one update batch; this to save API calls (quotas)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment