Committing code to send the query time to the front-end