bestchanges / hellomoto22

2 stars 2 forks source link

Conversion rate caching #21

Open bestchanges opened 6 years ago

bestchanges commented 6 years ago

it seems that caching doesn't work:

2018-04-13 05:38:53,477|urllib3.connectionpool|DEBUG|Starting new HTTPS connection (1): min-api.cryptocompare.com 2018-04-13 05:38:54,029|urllib3.connectionpool|DEBUG|https://min-api.cryptocompare.com:443 "GET /data/price?fsym=BTC&tsyms=RUR HTTP/1.1" 200 None 2018-04-13 05:38:54,040|urllib3.connectionpool|DEBUG|https://min-api.cryptocompare.com:443 "GET /data/price?fsym=BTC&tsyms=RUR HTTP/1.1" 200 None 2018-04-13 05:38:54,049|urllib3.connectionpool|DEBUG|https://min-api.cryptocompare.com:443 "GET /data/price?fsym=BTC&tsyms=RUR HTTP/1.1" 200 None 2018-04-13 05:38:54,057|urllib3.connectionpool|DEBUG|https://min-api.cryptocompare.com:443 "GET /data/price?fsym=BTC&tsyms=RUR HTTP/1.1" 200 None 2018-04-13 05:38:54,067|urllib3.connectionpool|DEBUG|https://min-api.cryptocompare.com:443 "GET /data/price?fsym=BTC&tsyms=RUR HTTP/1.1" 200 None 2018-04-13 05:38:54,073|urllib3.connectionpool|DEBUG|https://min-api.cryptocompare.com:443 "GET /data/price?fsym=BTC&tsyms=USD HTTP/1.1" 200 None 2018-04-13 05:38:54,082|urllib3.connectionpool|DEBUG|https://min-api.cryptocompare.com:443 "GET /data/price?fsym=BTC&tsyms=RUR HTTP/1.1" 200 None 2018-04-13 05:38:54,093|urllib3.connectionpool|DEBUG|https://min-api.cryptocompare.com:443 "GET /data/price?fsym=BTC&tsyms=RUR HTTP/1.1" 200 None 2018-04-13 05:38:54,104|urllib3.connectionpool|DEBUG|https://min-api.cryptocompare.com:443 "GET /data/price?fsym=BTC&tsyms=RUR HTTP/1.1" 200 None 2018-04-13 05:38:54,124|urllib3.connectionpool|DEBUG|https://min-api.cryptocompare.com:443 "GET /data/price?fsym=BTC&tsyms=RUR HTTP/1.1" 200 None 2018-04-13 05:38:54,147|urllib3.connectionpool|DEBUG|https://min-api.cryptocompare.com:443 "GET /data/price?fsym=BTC&tsyms=RUR HTTP/1.1" 200 None 2018-04-13 05:3