Skip to content

Commit

Permalink
sleep for 5 mins to let data manager catch up
Browse files Browse the repository at this point in the history
  • Loading branch information
mdr223 committed Oct 26, 2023
1 parent 44243d8 commit 79b6271
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions A2rchi/bin/service_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
from flask import Flask

import os
import time

# sleep for 5 minutes
print("SLEEPING")
time.sleep(300)

# set openai
os.environ['OPENAI_API_KEY'] = read_secret("OPENAI_API_KEY")
Expand Down

0 comments on commit 79b6271

Please sign in to comment.