Change Work Times

This commit is contained in:
Jonatan Rek
2025-01-02 12:29:52 +01:00
parent d9bdc50cf1
commit d4a5bc5476
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ $tag = ("0.0.4").Trim(); git reset --hard; git pull origin master; git tag $tag;
#### Docker Build - Bash (One Line)
```bash
export TAG="0.0.4" && sudo docker build -t git.steelants.cz/steelants/py_ck:"$TAG" . && sudo docker push git.steelants.cz/steelants/py_ck:"$TAG" && sudo docker build -t git.steelants.cz/steelants/py_ck:latest . && sudo docker push git.steelants.cz/steelants/py_ck:latest
export TAG="0.0.5" && sudo docker build -t git.steelants.cz/steelants/py_ck:"$TAG" . && sudo docker push git.steelants.cz/steelants/py_ck:"$TAG" && sudo docker build -t git.steelants.cz/steelants/py_ck:latest . && sudo docker push git.steelants.cz/steelants/py_ck:latest
```
#### Docker Stack Setup
+2 -2
View File
@@ -98,12 +98,12 @@ try:
}
response = requests.post('{}/anonymize'.format(root_api_url), json=data)
print(str(detection['id']) + " Anonymized" , flush=True)
time.sleep(10)
time.sleep(5)
print("Clearing Memory", flush=True)
gc.collect()
print("sleep", flush=True)
time.sleep(900)
time.sleep(300)
except Exception as e:
print("An exception occurred", flush=True)