finish merge

This commit is contained in:
Enzo Nunes
2025-02-28 19:23:07 +00:00

View File

@@ -85,7 +85,7 @@ async def picable(interaction: Interaction, owner: str, repository: str):
try: try:
result_future = create_task(handle_picable(owner, repository, repository_size_kb, github_token)) result_future = create_task(handle_picable(owner, repository, repository_size_kb, github_token))
try: try:
result = await wait_for(shield(result_future), timeout=5) result = await wait_for(shield(result_future), timeout=600)
await interaction.followup.send(result) await interaction.followup.send(result)
except TimeoutError: except TimeoutError:
await interaction.followup.send( await interaction.followup.send(