Require DB insertions to complete in fifteen seconds
authorMatt Corallo <git@bluematt.me>
Thu, 6 Jul 2023 16:43:05 +0000 (16:43 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 10 Jul 2023 18:04:20 +0000 (18:04 +0000)
commit8be01c021ee8a748454ac65cc6a87337e41a2ead
treebd6e98cce70ed047d167c4ff21d7bcb9b554e7b6
parentf8279ac23f420a2c3c21bdda13f32316b47fd830
Require DB insertions to complete in fifteen seconds

For some reason the mainnet server hung, seemingly on the DB
insertion task. This will improve debugging by simply crashing if
an insertion takes longer than five seconds.
src/persistence.rs