Skip to content

Commit 88a775d

Browse files
committed
fix: wrong bulk-processing environment variable name
1 parent a94d476 commit 88a775d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cloud-computing/src/app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def do_bulk_processing():
2828
if os.path.isfile(iexec_dataset_filepath):
2929
with open(iexec_dataset_filepath) as f:
3030
text += f.read()
31+
print(text)
3132
return text
3233

3334
def handle_dataset():
@@ -136,7 +137,7 @@ def save_result(text):
136137
computation_text = do_some_computation()
137138
print(computation_text)
138139
result += computation_text
139-
if 'BULK_SIZE' in os.environ:
140+
if 'IEXEC_BULK_SLICE_SIZE' in os.environ:
140141
bulk_dataset_text = do_bulk_processing()
141142
result += bulk_dataset_text
142143
dataset_text = handle_dataset()

0 commit comments

Comments
 (0)