fix #1122 change thumbnailTaskQueueTimeout to 10sec
This commit is contained in:
parent
3ff6064c2c
commit
46e124e1a1
1 changed files with 3 additions and 4 deletions
|
@ -82,7 +82,7 @@ public class ThumbnailManager {
|
|||
|
||||
protected int thumbnailTaskBulkSize = 100;
|
||||
|
||||
protected long thumbnailTaskQueueTimeout = 30 * 1000L;
|
||||
protected long thumbnailTaskQueueTimeout = 10 * 1000L;
|
||||
|
||||
protected long noImageExpired = 24 * 60 * 60 * 1000L; // 24 hours
|
||||
|
||||
|
@ -130,9 +130,8 @@ public class ThumbnailManager {
|
|||
}
|
||||
}
|
||||
} catch (final InterruptedException e) {
|
||||
logger.debug("Interupted task.", e);
|
||||
if (!taskList.isEmpty()) {
|
||||
storeQueue(taskList);
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("Interupted task.", e);
|
||||
}
|
||||
} catch (final Exception e) {
|
||||
if (generating) {
|
||||
|
|
Loading…
Add table
Reference in a new issue