Compare commits

..

5 Commits

Author SHA1 Message Date
Simple_Not
b646c73f47 remake many certs
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-17 12:36:23 +10:00
Simple_Not
2a93b636dc fixxxxx
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-16 15:02:57 +10:00
Simple_Not
2cb35e8015 fixxxxx
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-16 15:01:43 +10:00
Simple_Not
8a322efa6b fixxxxx
Some checks failed
continuous-integration/drone/push Build is failing
2023-07-16 15:00:36 +10:00
Simple_Not
bbc5207cb4 retunk metrics
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-13 19:25:22 +10:00
2 changed files with 7 additions and 3 deletions

View File

@@ -18,8 +18,8 @@ steps:
- name: pull into the folduh
commands:
- cd /usr/share/$DRONE_REPO_NAME
- git pull
- chown -R jack:jack .
- su -c "git pull" jack
#- chown -R jack:jack .
when:
branch:
- BIG_DICK_COCK

View File

@@ -15,7 +15,7 @@ app = Flask(__name__)
def get_top_dicks():
arango_client = ArangoClient(hosts='https://arango.vdk2ch.ru')
arango_client = ArangoClient(hosts='https://arango.guaranteedstruggle.host')
pipisa_db = arango_client.db('pipisa', username='root', password='stolendick527')
dicks_collection = pipisa_db.collection('dicks')
@@ -28,6 +28,7 @@ def get_top_dicks():
d['attempts'],
] for d in dicks]
dicks = sorted(dicks, key=lambda dick: dick[1], reverse=True)
return dicks
@@ -48,6 +49,9 @@ def metrics():
for dick in docks:
metrics += 'pipisio_attempto{user="%s", user_id="%s", chat_id="%s"} %s\n' % (dick[0], dick[2], dick[3], dick[4])
docks = [ d for d in docks if d[3] == -1001355646177]
# расстояние до следующего впереди
for k in range(len(docks)):