mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-05 13:20:39 +08:00
feat: enhance GitHub polling with synchronous comment processing and improved logging
This commit is contained in:
@ -164,8 +164,7 @@ async def polling_loop():
|
|||||||
async with aiohttp.ClientSession() as session:
|
async with aiohttp.ClientSession() as session:
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
await asyncio.sleep(3)
|
await asyncio.sleep(5)
|
||||||
get_logger().info("Polling for notifications")
|
|
||||||
headers = {
|
headers = {
|
||||||
"Accept": "application/vnd.github.v3+json",
|
"Accept": "application/vnd.github.v3+json",
|
||||||
"Authorization": f"Bearer {token}"
|
"Authorization": f"Bearer {token}"
|
||||||
|
Reference in New Issue
Block a user