j2kun / riemann-divisor-sum

Code for the series "Searching for Riemann Hypothesis Counterexamples"
https://jeremykun.com/2020/09/11/searching-for-rh-counterexamples-setting-up-pytest/
21 stars 2 forks source link

Start time and end times are the same in production #13

Closed j2kun closed 3 years ago

j2kun commented 3 years ago
divisor=# select start_time, end_time from searchmetadata where state = 'FINISHED';
         start_time         |          end_time          
----------------------------+----------------------------
 2021-02-09 04:15:00.315681 | 2021-02-09 04:15:00.315681
 2021-02-09 04:16:22.456979 | 2021-02-09 04:16:22.456979
 2021-02-09 04:17:49.202149 | 2021-02-09 04:17:49.202149
 2021-02-09 04:19:19.648897 | 2021-02-09 04:19:19.648897
 2021-02-09 04:20:52.012555 | 2021-02-09 04:20:52.012555
 2021-02-09 04:22:28.888724 | 2021-02-09 04:22:28.888724
 2021-02-09 04:13:11.032878 | 2021-02-09 04:13:11.032878
j2kun commented 3 years ago

I think this will fix it

https://github.com/j2kun/riemann-divisor-sum/commit/939749be5b45442b18cd7655fb95ff344d7f90fc

j2kun commented 3 years ago

It would be interesting to figure out how to set up a unit test that ensures this commit statement was called... not sure how to do that.