alamb commented on a change in pull request #1537:
URL: https://github.com/apache/arrow-datafusion/pull/1537#discussion_r782113988
##########
File path: ballista/rust/scheduler/src/main.rs
##########
@@ -62,14 +63,18 @@ async fn start_server(
"Ballista v{} Scheduler listening on {:?}",
BALLISTA_VERSION, addr
);
+ //there should be only one SchedulerServer in process
Review comment:
Perhaps using something like `lazy_static`
(https://docs.rs/lazy_static/1.4.0/lazy_static/, already a dependency) might be
worth looking into
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]