You can clone with
Implemented rate limit. HOURS_LIMIT restricts how frequently a record…
… can be processed. If record last processed is > HOURS_LIMIT, the record is not processed. Records that have not been previously processed are not affected by this and a processed normally.
Fixed bug that prevents more than 1 record from being processed.
Minor change to error handling.
Added THREAD_WAIT constant.
Using global variables in main.py.