(20241204) Trying display name and display picture fetch from GMail.
This commit is contained in:
+8
-3
@@ -194,13 +194,15 @@ async def app_startup(**kwargs):
|
||||
max_keepalive_connections = 50, # ... Maximum number of connections that can be kept alive.
|
||||
),
|
||||
timeout = httpx.Timeout(
|
||||
connect = 2.5, # ... Shorter connection timeout.
|
||||
read = 2.5, # ...... Like what EasyEcom gives.
|
||||
pool = 120.0, # .... Time to wait for a free connection from the pool.
|
||||
connect = 2.5, # ... Time to wait for establishing a connection to the server.
|
||||
write = 10.0, # .... Time to wait for sending data.
|
||||
pool = 120.0 # ..... Time to wait for a free connection from the pool.
|
||||
read = 2.5 # ....... Time to wait for receiving data.
|
||||
)
|
||||
)
|
||||
|
||||
print("Here!")
|
||||
|
||||
# ┏┓ ┓ ┓ ┳┓
|
||||
# ┃ ┏┓┏┓┏┫ ┏┓┏┓┏┫ ┃┃┏┓╋┏┓
|
||||
# ┗┛┛ ┗ ┗┻ ┗┻┛┗┗┻ ┻┛┗┻┗┗┻
|
||||
@@ -218,6 +220,9 @@ async def app_startup(**kwargs):
|
||||
)
|
||||
current_app.script_data = response.json().get("data")
|
||||
|
||||
print("CRED:", script_cred)
|
||||
print("DATA:", current_app.script_data)
|
||||
|
||||
# ┏┓┏┓┳┳ ┏┓┏┏• •
|
||||
# ┃ ┃┃┃┃ ┣┫╋╋┓┏┓┓╋┓┏
|
||||
# ┗┛┣┛┗┛ ┛┗┛┛┗┛┗┗┗┗┫
|
||||
|
||||
Reference in New Issue
Block a user