Change Work Times
This commit is contained in:
@@ -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