WIPACrepo / file_catalog

Store file metadata information in a file catalog
MIT License
1 stars 4 forks source link

Add Timeout to Mongo Queries 2.0 #114

Closed ric-evans closed 3 years ago

ric-evans commented 3 years ago

This will solve the problem of bad queries hanging the server.

Add a 10-minute default timeout to all Mongo queries Add an argument to /api/files:GET called max_time_ms to configure this timeout