orcinus-search/orcinus
Brian Huisman 5d990e44b0 Update search.php
Don't allow JSON requests to trigger a new crawl or end a stuck one, since the requests may come too fast to handle.

Only allow triggering a new crawl if more than 'sp_timeout_crawl' seconds have passed since we canceled the previous one.

In the future, we might give each successfully initiated crawl a unique ID and then only allow sending a failure email once if it has failed. A very busy search engine is probably indistinguishable from a rapid-fire series of JSON requests.
2023-12-06 10:14:18 -05:00
..
css Add Statistics page 2023-11-03 14:26:43 -04:00
geoip2 Re-upload 3rd party libraries 2023-04-20 10:47:11 -04:00
img Add header image and link 2023-09-14 10:33:59 -04:00
js Graph tweaks 2023-11-06 11:27:15 -05:00
libcurlemu Re-upload 3rd party libraries 2023-04-20 10:47:11 -04:00
mustache Re-upload 3rd party libraries 2023-04-20 10:47:11 -04:00
pdfparser admin and pdfparser updates 2023-07-11 10:24:55 -04:00
phpmailer Re-upload 3rd party libraries 2023-04-20 10:47:11 -04:00
admin.php Fix $capture typo 2023-11-06 11:29:18 -05:00
config.ini.php Update config.ini.php 2023-04-25 12:58:58 -04:00
config.php Misc fixes 2023-10-17 10:36:34 -04:00
crawler.php Misc fixes 2023-10-17 10:36:34 -04:00
search.php Update search.php 2023-12-06 10:14:18 -05:00