Reduced requests by removing refresh token from operations and loading token data in the first step of an operation
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import os
|
||||
|
||||
name = "Availability check"
|
||||
|
||||
kind = "action"
|
||||
@@ -32,3 +34,10 @@ prints = {
|
||||
recoverPolicy = {
|
||||
KeyError: []
|
||||
}
|
||||
|
||||
loaddata = [
|
||||
"access_token",
|
||||
"refresh_token",
|
||||
]
|
||||
|
||||
savepath = os.environ["TOKEN_STORE"]
|
||||
@@ -1,3 +1,5 @@
|
||||
import os
|
||||
|
||||
name = "Get message list"
|
||||
|
||||
kind = "action"
|
||||
@@ -33,3 +35,9 @@ outputs = {
|
||||
"emails": "emails"
|
||||
}
|
||||
|
||||
loaddata = [
|
||||
"access_token",
|
||||
"refresh_token",
|
||||
]
|
||||
|
||||
savepath = os.environ["TOKEN_STORE"]
|
||||
@@ -51,7 +51,7 @@ recoverPolicy = {
|
||||
],
|
||||
}
|
||||
|
||||
sleeptime = 120
|
||||
sleeptime = 105
|
||||
|
||||
#saverow = {
|
||||
# "table": "credentials",
|
||||
|
||||
Reference in New Issue
Block a user