Timeout for Queries

Extending the timeout for queries

To extend the Query timeout a configuration the registry is necessary. 

  1. Stop the ScriptRunner Service with the cmdlet Stop-AsrService
  2. Open the registry
  3. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\ScriptRunner\Service\General
  4. (Optional) Create a DWORD; name it QueryMaxSecs
  5. Edit QueryMaxSecs to your desired timeout length; default is 60 seconds
  6. Start the ScriptRunner Service with the cmdlet Start-AsrService

Note! The Web Server thread waits actively at this point.
It is not recommended for the whole system if queries wait here for a long time.