Fix bug in which we were running out of file descriptors. (#91)

This commit is contained in:
Robert Nishihara
2016-12-05 23:45:49 -08:00
committed by Philipp Moritz
parent ba53e4a43a
commit dd39008532
4 changed files with 25 additions and 3 deletions
+3
View File
@@ -94,6 +94,9 @@ class PlasmaClient(object):
size (int): The size in bytes of the created buffer.
metadata (buffer): An optional buffer encoding whatever metadata the user
wishes to encode.
Raises:
Exception: An exception is raised if the object could not be created.
"""
# Turn the metadata into the right type.
metadata = bytearray("") if metadata is None else metadata