Skip to content

Conversation

@thewhaleking
Copy link
Collaborator

@thewhaleking thewhaleking commented Oct 27, 2025

In addition to the standard cached methods, this adds functionality for caching the RuntimeCache on the disk, loading at startup and dumping at shutdown.

Additionally, adds a method for closing the DB connection more cleanly: AsyncSqliteDB.close

Also improves the logic of the runtime mappings in the RuntimeCache.

TODO: release bittensor-drand.

@github-actions github-actions bot added run-bittensor-cli-tests Runs BTCLI tests. run-bittensor-sdk-tests Runs Bittensor SDK tests. labels Oct 27, 2025
@thewhaleking thewhaleking marked this pull request as draft October 27, 2025 21:12
@thewhaleking thewhaleking changed the title WIP: Improve Disk Caching Improve Disk Caching Oct 28, 2025
@thewhaleking thewhaleking marked this pull request as ready for review October 28, 2025 21:37
@thewhaleking thewhaleking requested a review from a team October 28, 2025 21:48
@thewhaleking thewhaleking marked this pull request as draft October 28, 2025 21:51
@thewhaleking thewhaleking marked this pull request as ready for review October 29, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-bittensor-cli-tests Runs BTCLI tests. run-bittensor-sdk-tests Runs Bittensor SDK tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants