Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Heinrich Merker <[email protected]>
  • Loading branch information
janheinrichmerker authored Oct 14, 2024
1 parent ca6d807 commit 668de7e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions archive_query_log/api/main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from datetime import datetime
from pathlib import Path
from typing import NamedTuple, Type, Union
from typing import Type

from elasticsearch_dsl.query import Exists, Query, Term
from expiringdict import ExpiringDict
Expand All @@ -14,7 +14,6 @@
from archive_query_log.orm import Archive, Provider, Source, Capture, \
BaseDocument, Serp, Result, UrlQueryParser, UrlPageParser, \
UrlOffsetParser, WarcQueryParser, WarcSnippetsParser
from archive_query_log.utils.time import utc_now

_CACHE_SECONDS_STATISTICS = 60 * 5 # 5 minutes
_CACHE_SECONDS_PROGRESS = 60 * 10 # 10 minutes
Expand Down Expand Up @@ -391,4 +390,4 @@ def get_progress():
),
]

return progress_list
return progress_list

0 comments on commit 668de7e

Please sign in to comment.