Skip to content

Commit 08e60a0

Browse files
committed
Temporary substitute: replacing isolate with isolator.
1 parent 1efbe5e commit 08e60a0

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/sandbox/isolate_sandbox.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,12 @@ isolate_sandbox::isolate_sandbox(std::shared_ptr<sandbox_config> sandbox_config,
4141
const std::string &temp_dir,
4242
const std::string &data_dir,
4343
std::shared_ptr<spdlog::logger> logger)
44-
: sandbox_config_(sandbox_config), limits_(limits), logger_(logger), id_(id), isolate_binary_("isolate"),
44+
/*
45+
* ISOLATOR REPLACEMENT
46+
* This is a temporary measure. We replace isolate with our new sandbox with identical interface.
47+
* In the future, we will enhance the interface and make this a more proper change.
48+
*/
49+
: sandbox_config_(sandbox_config), limits_(limits), logger_(logger), id_(id), isolate_binary_("isolator"),
4550
data_dir_(data_dir)
4651
{
4752
if (logger_ == nullptr) { logger_ = helpers::create_null_logger(); }

0 commit comments

Comments
 (0)