feat(scripts): 🐛 Wait longer to apply migrations.

Waiting too few may result in the image not having finished being pulled, therefore the migrations not being applied since the old pod is still running.
This commit is contained in:
2025-03-19 19:57:41 -03:00
parent e3fcb20c61
commit 95f085fc0d
+2 -2
View File
@@ -36,9 +36,9 @@ microk8s kubectl set image pod/tasks \
"""
)
print("Waiting 15 seconds to run migrations...")
print("Waiting 30 seconds to run migrations...")
time.sleep(15)
time.sleep(30)
with open("./k8s/bot.yml", encoding="utf-8") as stream:
try: