173174175176177178179180181182183
} if (offset > -1) { query.offset(offset); } if (limit > -1) { query.limit(limit); } int timeout = config.getApplicationSettings().getQueryTimeout(); if (timeout > 0) { query.setTimeout(timeout / 1000); }