Skip to content

Commit

Permalink
Initialize default slot sampling parameters from the global context. (g…
Browse files Browse the repository at this point in the history
  • Loading branch information
HanClinto authored Jul 11, 2024
1 parent dd07a12 commit 278d0e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/server/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,8 @@ struct server_context {
slot.ga_n = ga_n;
slot.ga_w = ga_w;

slot.sparams = params.sparams;

slot.reset();

slots.push_back(slot);
Expand Down

0 comments on commit 278d0e1

Please sign in to comment.