Made a separate variable for query limit for background processes