Increasing Increasing query timeouts

Hi,

I’m getting a timeout on a (user-defined) query with the following response:

{

'error': True, 

'message': "The query didn't finish because it exceeded the query timeout threshold (16 seconds). To increase the query time, please check the error code for details.",

'results': [], 

'code': 'REST-3002'

}

I’ve bee going through the documentation back and forth, but haven’t managed so far to decipher “REST-32” nor to find any relevant info on increasing those query timeouts… Perhaps someone has gone through that already and could have some tips for me? Thanks!

Szymon

I guess I found it at: https://doc.tigergraph.com/TigerGraph-System-Administration-FAQs.html#TigerGraphSystemAdministrationFAQs-Whyhasmyrequesttimedout?

Hi Szymon,

Here is an example to change the REST timeout.

In Linux shell, type

gadmin --configure timeout_seconds

Then, follow the prompt to change the Restpp.timeout_seconds setting.

This will only update the config. To make it into effect, two more steps.

gadmin config-apply
gadmin restart

Best,

Mingxi