opencats / OpenCATS

Applicant Tracking System (maintained code base)
http://www.opencats.org
Other
532 stars 245 forks source link

Timeout on AJAX Query after 70 seconds. Please refresh the page and try again. #624

Closed mselavarasan closed 1 year ago

mselavarasan commented 1 year ago

Expected behavior

The expected behaviors' supposed to export the results in CSV format

Actual behavior.

The actual bahavior is "Timeout on AJAX query after 70 seconds. Please refresh the page and try again"

Steps to reproduce the problem.

  1. Login OpenCATS with the admin credential
  2. Go to "Job Orders" Tab
  3. Select a "Title"
  4. Under "Candidate Pipeline" section
  5. Click "Export"

What version of opencats are you running?

CATS Version 0.9.4 Countach

Release or downloaded from Git?

It was download from the GIT

WAMP or LAMP?

Using with LAMP

What version of PHP and MySQL are you running

PHP v5.6 and MySQL v5.7

mselavarasan commented 1 year ago

As a workaround for the above AJAX Timeout,

Steps:

  1. Go to lib folder
  2. Open js file
  3. look for var AJAX_TIMEOUT =****; increase the value as much as based on your requirements
  4. Look for Timeout function and adjust, if required 1a3587ab-1486-47b7-bd1c-b67ecfcfcfd2

Thank you, Ela

RussH commented 1 year ago

Yes, I suspect your export is quite large! Good catch.