Skip to content

Commit

Permalink
Don't store incremental data in server mode
Browse files Browse the repository at this point in the history
This allows apron to be activated in server mode.
  • Loading branch information
sim642 committed Mar 10, 2023
1 parent bcb29ce commit a00e2aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/framework/control.ml
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,8 @@ struct
);
if get_bool "incremental.save" then (
Serialize.Cache.(update_data AnalysisData marshal);
Serialize.Cache.store_data ()
if not (get_bool "server.enabled") then
Serialize.Cache.store_data ()
);
if get_bool "dbg.verbose" && get_string "result" <> "none" then print_endline ("Generating output: " ^ get_string "result");
Timing.wrap "result output" (Result.output (lazy local_xml) gh make_global_fast_xml) file
Expand Down

0 comments on commit a00e2aa

Please sign in to comment.