Ethan Donowitz

Results 37 comments of Ethan Donowitz

[JIRA](https://mozilla-hub.atlassian.net/browse/CONSVC-1691)

[JIRA](https://mozilla-hub.atlassian.net/browse/CONSVC-63)

[JIRA](https://mozilla-hub.atlassian.net/browse/CONSVC-1685)

I could be wrong about this, but since the `FromRequest` trait isn't defined with `#[async_trait]`, I don't think we can apply `#[async_trait]` to a `FromRequest` implementation, so I'm not sure...

There are certain places where we store a `fut` local var and call `and_then` instead of wrapping everything in an `async {}` block and using async/await, so I'll repurpose this...

@jona-es Would you be able to run the following in your MySQL console and let me know the result? ```sql SELECT available, capacity, current_load, downed, backoff FROM nodes; ``` I...

Yup exactly! The `available` count should update automatically when Tokenserver sees that there's unused capacity. Closing this, but feel free to post here if you have any follow up questions!

Can you run that same query from above again and share the new results?

Ah, I think I see the issue. If the `SYNC_TOKENSERVER__NODE_CAPACITY_RELEASE_RATE` env var is unset, it'll default to 0.1 [here](https://github.com/mozilla-services/syncstorage-rs/blob/master/syncstorage/src/tokenserver/db/models.rs#L214), which means that even if you have extra capacity, if the...

Hey @jona-es, we'll likely be QA testing the new Tokenserver in the next couple weeks, so we should uncover any potential issues then. Unfortunately, until then, I probably won't have...