feat: enhance GitHub polling with synchronous comment processing and improved logging

This commit is contained in:
mrT23
2024-09-05 16:55:10 +03:00
parent 19048ee705
commit f0d780c7ec

View File

@ -164,8 +164,7 @@ async def polling_loop():
async with aiohttp.ClientSession() as session:
while True:
try:
await asyncio.sleep(3)
get_logger().info("Polling for notifications")
await asyncio.sleep(5)
headers = {
"Accept": "application/vnd.github.v3+json",
"Authorization": f"Bearer {token}"