Skip to content

Commit 278d0e1

Browse files
authored
Initialize default slot sampling parameters from the global context. (#8418)
1 parent dd07a12 commit 278d0e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/server/server.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,8 @@ struct server_context {
737737
slot.ga_n = ga_n;
738738
slot.ga_w = ga_w;
739739

740+
slot.sparams = params.sparams;
741+
740742
slot.reset();
741743

742744
slots.push_back(slot);

0 commit comments

Comments
 (0)