Set websocket open timeout to 1 minute and log connection attempts #3

Merged
hkc merged 3 commits from vftdan/mastoposter:log-websocket-connection into master 2024-06-12 23:32:35 +03:00
Contributor

Allows to determine by logs whether activities will be received right now after starting mastoposter, changing networks or waking up the pc

Allows to determine by logs whether activities will be received right now after starting mastoposter, changing networks or waking up the pc
vftdan added 1 commit 2024-06-08 16:45:39 +03:00
vftdan force-pushed log-websocket-connection from 4410009015 to 850e705d37 2024-06-08 17:15:11 +03:00 Compare
vftdan force-pushed log-websocket-connection from 850e705d37 to 3e82b5c979 2024-06-08 18:03:59 +03:00 Compare
hkc reviewed 2024-06-08 18:08:49 +03:00
@ -33,2 +37,3 @@
try:
async with connect(url) as ws:
logger.info("attempting to connect to %s", public_url)
async with connect(url, open_timeout=60) as ws:
Owner

maybe respect timeout option from main config here?

maybe respect timeout option from main config here?
vftdan added 2 commits 2024-06-11 21:02:22 +03:00
Owner

lgtm

lgtm
Owner

huh it merged it weirdly

huh it merged it weirdly
hkc merged commit b7d453d15d into master 2024-06-12 23:32:35 +03:00
Owner

Pushed it on GH first and didn't realize it, having 2 remotes is a pain

Pushed it on GH first and didn't realize it, having 2 remotes is a pain
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hkc/mastoposter#3
No description provided.