Bryan Stitt
73d16b83e6
cargo upgrade and update
2023-10-03 19:07:21 -07:00
Bryan Stitt
e917a11d6c
Suprisingly large refactor to get ids everywhere ( #222 )
...
* cargo upgrade --incompatible and update
* first draft at suprisingly_large_refactor_to_get_ids_everywhere
* put app in a task_local
* ref cleanup
* use a OnceLock instead of a tokio local
* test more methods
* APP isn't set in all tests
* it compiles. tests fail. todos still open
* use the app only when necessary
* more tests. less panic
* less verbose debug impl
* short enum names
* move kafka and secrets to their own files
* main tests pass
* add debug chain block time
* helper for stats that ignores internal stats
* Update Jenkinsfile (#223 )
* more tests
---------
Co-authored-by: Pewxz <124064710+pewxz@users.noreply.github.com>
2023-10-03 13:46:27 -07:00
Bryan Stitt
a68a98ce41
cargo upgrade and update
...
moka 0.12 required some migration help: https://github.com/moka-rs/moka/blob/main/MIGRATION-GUIDE.md
2023-09-18 11:04:22 -07:00
Bryan Stitt
4d0149346d
update email address
2023-09-12 23:05:17 -07:00
Bryan Stitt
6be05bab4b
cargo upgrade
2023-08-17 13:49:45 -07:00
Bryan Stitt
aa71a406bb
cargo upgrade
2023-08-15 15:39:13 -07:00
Bryan Stitt
d56d39c82f
cargo upgrade
2023-08-07 15:40:59 -07:00
Bryan Stitt
1b8ae5dee0
cargo upgrade
2023-07-18 09:54:56 -07:00
Bryan Stitt
501ec21442
drop workspace-hack for now
...
it doesn't work well with features and so we were installing things like kafka even if the feature was off
2023-06-30 13:18:37 -07:00
Bryan Stitt
645fa7328b
cargo upgrade tokio
2023-06-29 23:16:31 -07:00
Bryan Stitt
cdea61cb6b
one list for ranked rpcs
2023-06-27 15:55:29 -07:00
Bryan Stitt
272f7ce800
add cargo hakari and chef to build process
2023-06-27 11:59:49 -07:00
Bryan Stitt
fd661689a3
Tracing ( #144 )
...
* tracing
* add tracing and features to match
* use just one hostname crate
* cargo upgrade
* set up pretty logger and sentry layer
2023-06-23 16:28:45 -07:00
Bryan Stitt
c456432cc3
cargo upgrade
2023-06-12 11:44:51 -07:00
Bryan Stitt
b6ff14210d
cargo upgrade
2023-06-08 22:35:14 -07:00
Bryan Stitt
40bee30730
back to moka
2023-06-07 17:30:05 -07:00
Bryan Stitt
f6b2b0deab
cargo upgrade
2023-06-07 10:50:34 -07:00
Bryan Stitt
9e935e2c44
cargo upgrade
2023-05-29 09:43:51 -07:00
Bryan Stitt
0f367d9035
more quick cache ttl
2023-05-18 00:04:30 -07:00
Bryan Stitt
2a242fe37f
cargo upgrade --incompatible
2023-05-11 13:25:55 -07:00
Bryan Stitt
2e934a41bf
cargo upgrade
2023-04-05 12:30:52 -07:00
Bryan Stitt
684c37ef6c
cargo upgrade
2023-03-10 09:45:47 -08:00
Bryan Stitt
0e2e45cf90
cargo upgrade
2023-02-12 01:47:06 -08:00
Bryan Stitt
ff4cb9abce
cargo upgrade
2023-02-08 11:11:16 -08:00
Bryan Stitt
0f280ce483
cargo upgrade and shorten variable names
...
also begin adding a latency tracker for rpc stats
2023-02-06 09:55:27 -08:00
Bryan Stitt
6c23b73f2d
cargo upgrade
2023-01-30 15:57:06 -08:00
Bryan Stitt
274778cd12
cargo upgrade --workspace
2023-01-19 02:21:45 -08:00
Bryan Stitt
7d0ac54019
upgrade hashbrown
2023-01-15 12:02:33 -08:00
Bryan Stitt
99d095bc33
upgrade after revert
2023-01-06 15:59:36 -08:00
Bryan Stitt
fb62243c3e
Revert "cargo upgrade and use trailing slash route extra"
...
This reverts commit 5bfba3a87afbf4157c2b0bd36273e3dcc4075578.
2023-01-06 15:58:52 -08:00
Bryan Stitt
5bfba3a87a
cargo upgrade and use trailing slash route extra
2023-01-06 14:22:57 -08:00
Bryan Stitt
221f2c1651
upgrade tokio
...
its a change for windows so doesn't really matter
2023-01-04 14:34:58 -08:00
Bryan Stitt
263f98ced5
minor updates
2022-12-19 10:58:49 -08:00
Bryan Stitt
081873e937
move pending logins to the database
2022-12-13 18:34:08 -08:00
Bryan Stitt
4018121e51
cargo upgrade
2022-11-21 17:49:57 +00:00
Bryan Stitt
0e1cf5767c
cut out tracing for now
2022-11-12 08:24:32 +00:00
Bryan Stitt
1329084621
cargo upgrade
2022-11-11 18:40:52 +00:00
Bryan Stitt
cb69a2d132
cargo upgrade (requires rust 1.65+)
2022-11-07 22:23:55 +00:00
Bryan Stitt
f859ed56fc
period instead of minute in variable names
2022-11-01 19:24:29 +00:00
Bryan Stitt
9422a335a7
allow origins on public entrypoints
2022-10-21 20:59:05 +00:00
Bryan Stitt
c8fbf46885
stats in redis that actually work
...
we should still investigate a real time series db, but stats in redis is much simpler for now
2022-10-07 02:15:53 +00:00
Bryan Stitt
53f9551180
finish adding semaphores
2022-09-28 03:35:55 +00:00
Bryan Stitt
37a1aa554b
revert error saving and extract blockHash from requests
2022-09-21 04:48:21 +00:00
Bryan Stitt
6ae24b1ff9
use cache's expiration and race-free get_with
...
when this was a dashmap, we needed our own expiration and parallel requests would do the same query.
with moka, we can use their expiration code and get_with
2022-09-20 01:33:39 +00:00
Bryan Stitt
3d4bfbfde0
use ahash. allow no redis
2022-09-17 01:19:11 +00:00
Bryan Stitt
6182b5f8e6
need a mutex, not a cell
2022-09-17 01:06:10 +00:00
Bryan Stitt
12b6d01434
work in progress
2022-09-15 17:57:24 +00:00