summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristofer Hallin <kristofer@sunet.se>2022-01-18 15:17:40 +0100
committerKristofer Hallin <kristofer@sunet.se>2022-01-18 15:17:40 +0100
commit8eb45f6d4baa0e71b021e334b9ac20ce903d4dde (patch)
tree72b93a816c42db28dc3b3059edf6601713b770b5
parent5ee4799c88c48097e09b48b6afceb43571f07aaf (diff)
Broken merge.
-rwxr-xr-xsrc/main.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/main.py b/src/main.py
index d6f420f..a65971d 100755
--- a/src/main.py
+++ b/src/main.py
@@ -31,23 +31,6 @@ async def mock_x_total_count_header(request: Request, call_next):
response.headers["X-Total-Count"] = "100"
return response
-<< << << < HEAD
-== == == =
-for i in range(10):
- try:
- db = DictDB()
- except Exception:
- print(
- f'Database not responding, will try again soon. Attempt {i + 1} of 10.')
- else:
- break
- time.sleep(1)
-else:
- print('Database did not respond after 10 attempts, quitting.')
- sys.exit(-1)
-
->>>>>> > main
-
def get_pubkey():
try: