Skip to content

Commit

Permalink
Fix bugzilla cache timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mbriand committed Oct 16, 2024
1 parent 01415d0 commit b4a9a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swattool/bugzilla.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def get_abints(cls) -> dict[int, str]:

fparams = urllib.parse.urlencode(params, doseq=True)
req = f"{REST_BASE_URL}bug?{fparams}"
data = Session().get(req)
data = Session().get(req, 600)

cls.known_abints = {bug['id']: bug['summary']
for bug in json.loads(data)['bugs']}
Expand Down

0 comments on commit b4a9a0a

Please sign in to comment.