1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 10:11:47 +02:00

libstore/worker.cc: Remove outdated comment

It was added above this conditional

    Worker::Worker(LocalStore & store)
        : store(store)
    {
        /* Debugging: prevent recursive workers. */
        if (working) abort();
        working = true;

However, `working` has since been removed.

Source: 7f8e805c8e/src/libstore/build.cc (L2617)
This commit is contained in:
Robert Hensing 2024-02-01 12:27:29 +01:00
parent 052f1320dd
commit fd0b376c79

View file

@ -19,7 +19,6 @@ Worker::Worker(Store & store, Store & evalStore)
, store(store) , store(store)
, evalStore(evalStore) , evalStore(evalStore)
{ {
/* Debugging: prevent recursive workers. */
nrLocalBuilds = 0; nrLocalBuilds = 0;
nrSubstitutions = 0; nrSubstitutions = 0;
lastWokenUp = steady_time_point::min(); lastWokenUp = steady_time_point::min();