20 Commits

Author SHA1 Message Date
Taddes
9e9869ee06
feat: glean metrics logic (#1626)
feat: glean metrics logic
2024-11-26 17:04:38 -06:00
Philip Jenvey
4259183ae4
fix: ensure the pool counter's always decremented via scopeguard (#1604)
also report machine parallelism @ startup

Issue SYNC-4421
2024-09-25 17:30:19 -07:00
JR Conlin
ab7b4221fd
bug: Allow threadpool size to be set. (#1560)
* bug: Allow threadpool size to be set.

It appears that the replacement for setting ACTIX_THREADPOOL would be to
call `ServiceBuilder.worker_max_blocking_threads()` This PR introduces
the ability to set this value by using the
`worker_max_blocking_threads`configuration variable.

Closes #SYNC-4271
2024-05-16 16:36:41 -07:00
bendk
97985586b4
feat: Upgrading to Actix 4.x (#1514)
* Upgrading to Actix 4.x

Also:
  - actix-http 3.x
  - actix-rt 2.x
  - actix-cors 0.6.x
  - tokio 1.x
  - reqwest 0.11.x
  - deadpool 0.7.x

* Update crates after Actix upgrade

Also cleared out the audit exception list.
2024-01-23 13:59:54 -08:00
JR Conlin
cc8d5847dc
Chore/update 2312 (#1510)
* chore: Update for 12-2023

Closes: #1503, #1502

switch to fetching mysql_pubkey.asc

Closes #1509 SYNC-4055
2024-01-12 15:44:44 -08:00
Philip Jenvey
fb70128824
fix: switch more test flags to cfg(debug_assertions) (#1488)
switch mutation usage to an explicit flag

fix the db tests' uid handling

SYNC-3955
2023-10-10 17:41:42 -07:00
JR Conlin
1f9323b7b3
feat: convert dependencies to use workspaces
Update package description and some dependencies to use `workspace`
inheritance.

* Also updates circleci to produce dockerhub image.

Closes #1461
Issue #1362

* f touch to retry circleci

* f try to pre-emptively lock protobuf to the older 2.25.2 version

* f force Cargo.lock to use protobuf 2.25.2, dammit

* f move protobuf pin to syncstorage-spanner

* f revert cargo.lock

* f revert #448

* f update base64 / tickle circleci

* f update cadence (and kick circleci)

* f clippy

* f switch to latest google-cloud-rust

* f update to use google-cloud-rust
2023-08-29 13:57:53 -07:00
Philip Jenvey
80d21e7143
merge master 2023-03-07 12:02:16 -08:00
Philip Jenvey
d700e47349
chore: tag 0.13.6 2023-03-06 17:54:52 -08:00
Philip Jenvey
ecb29025a6
chore: tag 0.13.5 2023-03-03 14:12:59 -08:00
Philip Jenvey
028b8b1fb4
chore: tag 0.13.4 2023-02-24 11:09:52 -08:00
Philip Jenvey
2eecb8caca
chore: tag 0.13.3 2023-02-24 09:19:30 -08:00
Philip Jenvey
fb406a055b
chore: tag 0.13.2 2023-02-06 13:20:15 -08:00
Ethan Donowitz
b5b7e57f93
refactor: add database crates (#1407)
Closes #1277
2023-01-10 16:06:03 -05:00
Ethan Donowitz
e48f948456
chore: tag 0.13.1 (#1448) 2022-12-16 14:07:17 -05:00
Ethan Donowitz
e99c22fcc2
chore: tag 0.13.1 2022-12-16 13:15:37 -05:00
Ethan Donowitz
3f836b1e98
bug: fix CORS issue (#1447) 2022-12-16 13:12:25 -05:00
Philip Jenvey
926dd11db3
chore: tag 0.13.0 2022-11-13 23:59:45 -08:00
Philip Jenvey
23a3c4ba3a
merge master 2022-11-01 12:55:04 -07:00
Ethan Donowitz
0ae5fd2059
refactor: add settings crates (#1306)
This is a breaking change. This commit separates syncstorage and tokenserver settings into separate structs that are contained by a parent `Settings` struct. This means that any env vars that hold settings specific to syncstorage (e.g. `SYNC_DATABASE_URL`) have been renamed to `SYNC_SYNCSTORAGE__DATABASE_URL`. Any settings that were moved from the top-level `Settings` struct to the lower level, syncstorage-specific struct will now have a `SYNC_SYNCSTORAGE__` prefix instead of a `SYNC_` prefix.

Closes #1276
2022-10-19 17:15:56 -04:00