IDEMPIERE-6123 Query in search window causing slowness and load spikes in the database (FHCA-5356) (#2408) (#2409)
This commit is contained in:
parent
afe578e9b3
commit
1a89cd6b8f
|
@ -3099,6 +3099,7 @@ public class GridTable extends AbstractTableModel
|
|||
catch (SQLException e)
|
||||
{
|
||||
if (DB.getDatabase().isQueryTimeout(e)) {
|
||||
m_rowLoadTimeout = true;
|
||||
throw new AdempiereException(Msg.getMsg(Env.getCtx(), LOAD_TIMEOUT_ERROR_MESSAGE), e);
|
||||
} else {
|
||||
log.saveError(e.getLocalizedMessage(), e);
|
||||
|
|
Loading…
Reference in New Issue