Skip to content

Commit 5b386ce

Browse files
committed
Messing around with async cancel
1 parent bca3318 commit 5b386ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ async def webhooks(repo):
2727

2828
if payload['repository']['name'] == repo and 'action' in payload.keys():
2929
if payload['action'] == 'released' and 'release' in payload.keys():
30-
asyncio.shield(processRelease(repo, payload))
30+
asyncio.create_task(processRelease(repo, payload))
3131

3232
return 'Thanks!', 202
3333

0 commit comments

Comments
 (0)