Skip to content

Commit

Permalink
Fix Group create to shard: set infras capacity from config instead of…
Browse files Browse the repository at this point in the history
… hardcoded value
  • Loading branch information
SviatoslavBoichuk committed Dec 5, 2024
1 parent 8feb522 commit 91809db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cgw_connection_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ impl CGWConnectionServer {
// DB stuff - create group for remote shards to be aware of change
let group = CGWDBInfrastructureGroup {
id: gid,
reserved_size: 1000i32,
reserved_size: infras_capacity,
actual_size: 0i32,
};
match self
Expand Down

0 comments on commit 91809db

Please sign in to comment.