mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-02 20:32:39 +02:00
chore: linting
This commit is contained in:
parent
786b65d68f
commit
7bd3a4e08f
6 changed files with 22 additions and 10 deletions
|
|
@ -189,7 +189,7 @@ async def lifespan(app: FastAPI):
|
|||
# doesn't block startup indefinitely and make the container unresponsive)
|
||||
try:
|
||||
await asyncio.wait_for(seed_surfsense_docs(), timeout=120)
|
||||
except asyncio.TimeoutError:
|
||||
except TimeoutError:
|
||||
logging.getLogger(__name__).warning(
|
||||
"Surfsense docs seeding timed out after 120s — skipping. "
|
||||
"Docs will be indexed on the next restart."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue