diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-09-13 14:50:26 -0400 | 
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-09-18 23:07:13 -0400 | 
| commit | f2a5bc62bf1820842d20bb692fda9634e0743006 (patch) | |
| tree | 367638f5dab125055d22c6a97c3624dfa6f6ebe3 | |
| parent | 8573ad716839caf34a2c9c016d5ffbcbaab5ba2e (diff) | |
| download | stasis-f2a5bc62bf1820842d20bb692fda9634e0743006.tar.gz | |
Fix opt_flags assignment.
| -rw-r--r-- | src/delivery.c | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/src/delivery.c b/src/delivery.c index 2718c08..1113119 100644 --- a/src/delivery.c +++ b/src/delivery.c @@ -1891,7 +1891,9 @@ void delivery_tests_run(struct Delivery *ctx) {          }          size_t opt_flags = 0; -        opt_flags |= globals.parallel_fail_fast; +        if (globals.parallel_fail_fast) { +            opt_flags |= MP_POOL_FAIL_FAST; +        }          if (pool_setup->num_used) {              COE_CHECK_ABORT(mp_pool_join(pool_setup, 1, opt_flags) != 0, "Failure in setup task pool"); | 
