Use just one mutex for reloadable params #74

Closed
opened 2023-08-25 14:24:14 +00:00 by dkirillov · 0 comments
Member

Since the number of params is increasing probably we can use mutext instead of atomic

Describe the solution you'd like

Use one mutex instead of atomics for all reloadable params

The similar issue for s3-gw TrueCloudLab/frostfs-s3-gw#172

## Is your feature request related to a problem? Please describe. Since the number of params is [increasing](https://git.frostfs.info/dkirillov/frostfs-http-gw/src/commit/300425042c3d2875a890fbd48b6d24836f2547b8/uploader/upload.go#L45) probably we can use mutext instead of atomic ## Describe the solution you'd like Use one mutex instead of atomics for all reloadable params The similar issue for s3-gw https://git.frostfs.info/TrueCloudLab/frostfs-s3-gw/issues/172
dkirillov added the
enhancement
refactoring
labels 2023-08-25 14:24:14 +00:00
mbiryukova self-assigned this 2023-09-05 07:32:00 +00:00
alexvanin added this to the v0.29.0 milestone 2023-09-08 10:18:17 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-http-gw#74
No description provided.