Note: SearcherActor cannot commit indices due to EnterError
(https://github.com/tantivy-search/tantivy/issues/898). This issue might be related: https://github.com/rust-lang/futures-rs/issues/2090.
This occurs because perhaps both Riker and Tantivy use futures::excutor::LocalPool
and Tantivy's block_on
is called in Riker's LocalPool
.
Possible options (based on my poor understanding of async) are:
- SearcherActor doesn't commit indices. Raw Searcher does periodically as current implementation does.
- Write patches to Riker so that we can choose other async runtime like async-std and use it.
- Do the same to Tantivy.
Note that we cannot search new posts until their documents are commited not just added.
Can you run
rustup target add wasm32-unknown-unknown
and try again?
I think it should be installed automatically, though...
I dicided not to update binaries of fediverse.blog. Current version might have some trouble federating other Plume and non-Plume instances. We need investigate more.