If variable dkan_datastore_lock is set to 1 (probably as a result of failed update), this results in infinite loop / WSOD which is extremely difficult to debug, as it doesn't produce any error in logs.
Steps to Reproduce
Run variable_set('dkan_datastore_lock', 1); via Devel PHP
Go to a resource, containing CSV file (local or remote)
There will be infinite loop and a WSOD as a result
If variable dkan_datastore_lock is set to 1 (probably as a result of failed update), this results in infinite loop / WSOD which is extremely difficult to debug, as it doesn't produce any error in logs.
Steps to Reproduce