Rudolf Olah

Results 7 comments of Rudolf Olah

Thanks for pointing out that the server thread would be blocked. The code you mentioned makes it clearer that I need to use `web::block`: https://github.com/actix/examples/blob/d259177eabf75a7bdd3a84b48d3467c4680c8110/databases/diesel/src/main.rs#L29-L34 [The caution about blocking threads...

## Example using `web::block` The following code seemed to work: ```rust use actix_web::{get, web, App, HttpServer, Responder, Result}; use redis::Commands; #[get("/simple/url/{id}")] pub async fn example( id: web::Path, redis_pool: web::Data )...

Are the code samples on this page incorrect? https://developers.google.com/admob/unity/rewarded-interstitial I have the rewarded interstitial loading and displaying and the close button appears however only the `OnAdDidPresentFullScreenContent` callback is called. The...

Good to know! My problem was fixed when I tested on an Android device instead of in the Unity simulator On Fri, Dec 30, 2022, 00:21 kkl ***@***.***> wrote: >...

I ended up using another library to get the phase names, there's a function that shows the phases around a given date: https://github.com/ryanseys/lune?tab=readme-ov-file#to-search-for-recent-phases-around-the-current-date From what I've tried out, the phases...

I'm running into the same error. What's interesting is that the `get()` call works *without* calling `.end()` and I get a different error about `end` being called twice if I...

Update on this, I ended up finding a bug in my POST handler code. There was an error being returned that would normally be handled by a middleware that would...