]> git.pond.sub.org Git - empserver/blobdiff - src/lib/update/sect.c
Don't use automatic supply to avoid starvation at the update
[empserver] / src / lib / update / sect.c
index 6bf812519b487f166ae7261dc468ddf9d2b1f96e..6b310a1b3869f9d3065ef849800ad0650cf58f95 100644 (file)
@@ -308,16 +308,9 @@ produce_sect(int natnum, int etu, struct bp *bp, long p_sect[][2])
        sp->sct_updated = 1;
        work = 0;
 
        sp->sct_updated = 1;
        work = 0;
 
-       /* do_feed trys to supply.  So, we need to enable cacheing
-          here */
-       bp_enable_cachepath();
-
        sctwork = do_feed(sp, np, vec, &work, etu);
        bp_put_items(bp, sp, vec);
 
        sctwork = do_feed(sp, np, vec, &work, etu);
        bp_put_items(bp, sp, vec);
 
-       bp_disable_cachepath();
-       bp_clear_cachepath();
-
        if (sp->sct_off || np->nat_money < 0)
            continue;
 
        if (sp->sct_off || np->nat_money < 0)
            continue;