Commit c3f878b6 authored by claes's avatar claes

Default subscription timeout time changed to 2.5 s

parent d1632950
......@@ -2701,7 +2701,7 @@ int Graph::init_trace()
// Set subscription defaults
int dt = int( scan_time * 1000);
int tmo = int( MAX(2 * dt, 10000));
int tmo = int( MAX(2 * dt/100, 25));
sts = gdh_SetSubscriptionDefaults( dt, tmo);
grow->grow_trace_setup();
......@@ -3523,7 +3523,7 @@ int Graph::ref_object_info( glow_eCycle cycle, char *name, void **data,
dt = int( fast_scan_time * 1000);
else
dt = int( scan_time * 1000);
int tmo = int( MAX(2 * dt, 10000));
int tmo = int( MAX(2 * dt / 100, 25));
gdh_SetSubscriptionDefaults( dt, tmo);
return gdh_RefObjectInfo( name, data, subid, size);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment