Skip to content

Commit d5ae91c

Browse files
committed
fix: Forgot that I replaced @ with : at some point
1 parent fb7ceae commit d5ae91c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tokenserver-db-mysql/src/models.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ AND available > 0
4949
AND capacity > current_load
5050
AND downed = 0
5151
AND backoff = 0
52-
ORDER BY LOG(current_load) / LOG(capacity)
52+
ORDER BY LOG(current_load) / LOG(capacity) ASC,available DESC
5353
LIMIT 1"#;
5454

5555
pub const GET_BEST_NODE_RELEASE_CAPACITY_QUERY: &str = r#"

tools/integration_tests/tokenserver/test_support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def _add_user(
177177
created_at = created_at or math.trunc(time.time() * 1000)
178178
query = insert(Users).values(
179179
service=self.service_id,
180-
email=email or "test:%s" % self.FXA_EMAIL_DOMAIN,
180+
email=email or "test@%s" % self.FXA_EMAIL_DOMAIN,
181181
generation=generation,
182182
client_state=client_state,
183183
created_at=created_at,

0 commit comments

Comments
 (0)