Change Work Times
This commit is contained in:
1 parent
d9bdc50cf1
commit
d4a5bc5476
2 files changed
+3
-3
No files matched your search
@@ -7,7 +7,7 @@ $tag = ("0.0.4").Trim(); git reset --hard; git pull origin master; git tag $tag;
|
|||||||
|
|
||||||
#### Docker Build - Bash (One Line)
|
#### Docker Build - Bash (One Line)
|
||||||
```bash
|
```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
|
#### Docker Stack Setup
|
||||||
|
|||||||
@@ -98,12 +98,12 @@ try:
|
|||||||
}
|
}
|
||||||
response = requests.post('{}/anonymize'.format(root_api_url), json=data)
|
response = requests.post('{}/anonymize'.format(root_api_url), json=data)
|
||||||
print(str(detection['id']) + " Anonymized" , flush=True)
|
print(str(detection['id']) + " Anonymized" , flush=True)
|
||||||
time.sleep(10)
|
time.sleep(5)
|
||||||
|
|
||||||
print("Clearing Memory", flush=True)
|
print("Clearing Memory", flush=True)
|
||||||
gc.collect()
|
gc.collect()
|
||||||
print("sleep", flush=True)
|
print("sleep", flush=True)
|
||||||
time.sleep(900)
|
time.sleep(300)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("An exception occurred", flush=True)
|
print("An exception occurred", flush=True)
|
||||||
|
|||||||
Reference in new issue
Block a user