tursodatabase / libsql

libSQL is a fork of SQLite that is both Open Source, and Open Contributions.
https://turso.tech/libsql
MIT License
9.54k stars 252 forks source link

we need to measure upload time inside the handle because function will return almost immediately #1698

Closed sivukhin closed 1 month ago

sivukhin commented 1 month ago

Context

Follow up after https://github.com/tursodatabase/libsql/pull/1692

Function snapshot_main_db_file return JoinHandle - so it returns almost immediately and we need to measure S3 upload time inside the join handle