Skip to content

Commit

Permalink
tmp: hardcode lb mode 1
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuyan committed May 22, 2024
1 parent 6848ec8 commit 13cd9cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions c_src/quicer_nif.c
Original file line number Diff line number Diff line change
Expand Up @@ -1179,6 +1179,8 @@ openLib(ErlNifEnv *env, __unused_parm__ int argc, const ERL_NIF_TERM argv[])
TP_NIF_3(success, 0, 2);

res = SUCCESS(ATOM_TRUE);
uint16_t lb_mode = 1;
MsQuic->SetParam(NULL, QUIC_PARAM_GLOBAL_LOAD_BALACING_MODE, sizeof(uint16_t), &lb_mode);

if (enif_get_string(env, lttngLib, lttngPath, PATH_MAX, ERL_NIF_LATIN1))
{
Expand Down

0 comments on commit 13cd9cd

Please sign in to comment.