Skip to content

Commit 22e9398

Browse files
committed
move default action memory to 512MB
1 parent 46cba62 commit 22e9398

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pywren/pywren_ibm_cloud/deployutil.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def create_blackbox_runtime(image_name, config = None, pywren_location = None):
9999
with open(zip_location, "rb") as action_zip:
100100
action_bin = action_zip.read()
101101
cf_client = CloudFunctions(config['ibm_cf'])
102-
cf_client.create_action(runtime_name, memory=2048, timeout=600000,
102+
cf_client.create_action(runtime_name, memory=512, timeout=600000,
103103
code=action_bin, kind='blackbox', image=image_name)
104104

105105
def clone_runtime(image_name, config = None, pywren_location = None):
@@ -132,5 +132,5 @@ def default(config = None, pywren_location = None):
132132
action_bin = action_zip.read()
133133
cf_client = CloudFunctions(config['ibm_cf'])
134134
runtime_name = CF_ACTION_NAME_DEFAULT
135-
cf_client.create_action(runtime_name, memory=2048, timeout=600000, code=action_bin)
135+
cf_client.create_action(runtime_name, memory=512, timeout=600000, code=action_bin)
136136

0 commit comments

Comments
 (0)