Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [2018-07-17 01:43:09.739] 1) Date check | From: 2018-03-16 16:02:13.000 | To: 2018-07-17 01:40:13.000
- [2018-07-17 01:43:09.739] ************************ 1. Rounding down the 'from' time to the nearest round period
- [2018-07-17 01:43:09.739] 2) Date check | From: 2018-03-16T16:00:00Z | To: 2018-07-17 01:40:13.000
- [2018-07-17 01:43:09.739] ************************ 2. Counting how many intervals exist in our to/from range
- [2018-07-17 01:43:09.739] Time range is from 2018-03-16T16:00:00Z to 2018-07-17T01:40:13Z
- [2018-07-17 01:43:09.740] Number of 1 hour periods in range: 2941
- [2018-07-17 01:43:09.740] ************************ 3. Generating an array with all of the potential time slots for bars that could exist in our period
- [2018-07-17 01:43:09.870] ************************ 4. Checking to see if each bar exists in Redis (cache) before we go to the DB
- [2018-07-17 01:43:10.381] ************************ Done getting elements from Redis
- [2018-07-17 01:43:10.381] No results found in cache
- [2018-07-17 01:43:10.381] ************************ 5. Calculating bars we need to get from the DB
- [2018-07-17 01:43:10.381] ********************************************************* 2018-07-17 01:40:13.000
- [2018-07-17 01:43:10.381] New time range is from 2018-03-16T16:00:00Z to 2018-07-17T01:40:13Z
- [2018-07-17 01:43:10.382] Number of 1 hour periods in new range: 2937
- [2018-07-17 01:43:10.382] ************************ Getting bars from DB
- [2018-07-17 01:43:10.382] From: 2018-03-16T16:00:00Z | To: 2018-07-17 01:40:13.000
- [2018-07-17 01:43:26.270] ************************ Done getting bars from DB
- [2018-07-17 01:43:26.271] ************************ Adding new bars to Redis & assembling final result
- [2018-07-17 01:43:26.574] ************************ Done adding elements to Redis
- ************************ Returning bars Result
- query: 16836.879ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement