diff options
author | Jürg Billeter <j@bitron.ch> | 2019-09-02 12:23:34 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-09-03 11:17:28 +0200 |
commit | 2ce01dafc17a8ead15f95a3ae11954d8b7839cc2 (patch) | |
tree | 03d1056efe5380e3870fb574be370fc8b5949bb8 | |
parent | ab56feac81b780f4e35f3c7c96efaa73007a59b6 (diff) | |
download | buildstream-2ce01dafc17a8ead15f95a3ae11954d8b7839cc2.tar.gz |
casserver.py: Remove notify_fork_disabled() call
The fork safeguard is now handled by Context.is_fork_allowed().
-rw-r--r-- | src/buildstream/_cas/casserver.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/buildstream/_cas/casserver.py b/src/buildstream/_cas/casserver.py index 1835d118e..5a4c2b7ac 100644 --- a/src/buildstream/_cas/casserver.py +++ b/src/buildstream/_cas/casserver.py @@ -60,10 +60,6 @@ def create_server(repo, *, enable_push, quota): cas = CASCache(os.path.abspath(repo), cache_quota=quota, protect_session_blobs=False) try: - # Allow gRPC communication in main process as bst-artifact-server - # doesn't use forked subprocesses. - cas.notify_fork_disabled() - artifactdir = os.path.join(os.path.abspath(repo), 'artifacts', 'refs') sourcedir = os.path.join(os.path.abspath(repo), 'source_protos') |