Limiting db requests to 24 hours