Geoffrey Mureithi
Geoffrey Mureithi
@dlen Please do!
@IgnisDa Will be releasing version 0.6 alpha over the weekend.
Could you try to check clone and check service clone? https://docs.rs/tower/latest/tower/builder/struct.ServiceBuilder.html#method.check_clone You can access the service builder using WorkerBuilder.chain
Have you checked this issue? https://github.com/geofmureithi/apalis/discussions/256
See also https://github.com/tokio-rs/axum/discussions/987#discussioncomment-2678595 The issue is that from 0.5 apalis needs the service to be clone yet tower rate limit is not clone. The suggested option is to include BufferLayer...
Seems the issue here is with tower. Can you try using `.chain` Can you also try using a custom implementation eg https://medium.com/@khalludi123/creating-a-rate-limiter-middleware-using-tower-for-axum-rust-be1d65fbeca
I will check the problem then close it.
Currently I have the register method able to work without clone. The issue though is when using register_with_count, I am trying to figure something. Will update in upcoming 0.6 releases.
This has been fixed by #348
There is v0.6.0-rc.1