Commit graph

16 commits

Author SHA1 Message Date
Paolo Barbolini
84a7d5154b
Clone crates.io-index instead of querying it through GitHub's API (#69)
* Clone crates.io-index instead of querying it through GitHub's API

* Implement refreshing the crates.io-index

* Run the initial index clone before starting the server

* Log cloning the crates.io-index

* Disambiguate name of ManagedIndex initial clone fn

* Log errors with cloning or refreshing the index
2020-11-14 18:29:49 +01:00
Paolo Barbolini
8b58821beb
Remove Mutex around Cache and move away from deprecated lru-cache (#65) 2020-10-05 12:47:24 +01:00
Rob Ede
aa0f4777e2
improve logging (#62) 2020-10-04 16:03:52 +01:00
Rob Ede
1b66eddb06
reqwest client + caching (#58) 2020-10-03 13:08:16 +01:00
Rob Ede
66fd685062
fix clippy lints (#56) 2020-10-02 08:37:27 +02:00
Rob Ede
b7b25b7cb7
update hyper and futures ecosystem 2020-09-30 23:08:40 +01:00
Rob Ede
820a3cfd28
remove failure 2020-09-29 00:28:58 +01:00
Rob Ede
c8531f444a
fmt 2020-09-28 23:53:20 +01:00
Rob Ede
63a8355543
replace lazy-static with once-cell 2020-09-28 23:50:12 +01:00
Rob Ede
1d5fdd5dc5
welcome to 2018 2020-09-28 23:48:26 +01:00
Sam Rijs
fec6f12a48 Revert "use lru_time_cache to improve cache expiry"
This reverts commit 063d418747.
2018-02-24 14:44:22 +11:00
Sam Rijs
063d418747 use lru_time_cache to improve cache expiry 2018-02-24 14:27:21 +11:00
Sam Rijs
bc75ceb9e2 move shared fail struct into own crate 2018-02-24 14:12:28 +11:00
Sam Rijs
53b7ed3015 introduce lightweight (5 mins) caching for crate metadata 2018-02-12 22:02:54 +11:00
Sam Rijs
d935ca0ef8 move to the failure crate for error reporting 2018-02-05 21:08:52 +11:00
Sam Rijs
b101a3fade throttle calls to get popular repos from github 2018-02-05 19:38:04 +11:00