mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
timeout is in millis but expected in seconds
This commit is contained in:
@@ -170,7 +170,7 @@ public class FeedEntryStatusDAO extends GenericDAO<FeedEntryStatus> {
|
||||
}
|
||||
int timeout = config.getApplicationSettings().getQueryTimeout();
|
||||
if (timeout > 0) {
|
||||
query.setTimeout(timeout);
|
||||
query.setTimeout(timeout / 1000);
|
||||
}
|
||||
return query;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user