You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param {number} [conf.fail_timeout=60] - set time in seconds to wait after failed connection to server in seconds
40
40
* @param {number} [conf.session_update=60] - how often in seconds should session be extended
41
41
* @param {number} [conf.max_events=100] - maximum amount of events to send in one batch
42
-
* @param {boolean} [conf.persist_queue=false] - persistently store queue until processed, default is false if you want to keep queue in memory and process all in one process run
43
42
* @param {boolean} [conf.force_post=false] - force using post method for all requests
44
43
* @param {string} [conf.storage_path] - where SDK would store data, including id, queues, etc
45
44
* @param {string} [conf.http_options=] - function to get http options by reference and overwrite them, before running each request
* @param {number} [conf.max_stack_trace_lines_per_thread=30] - maximum amount of stack trace lines would be recorded per thread
51
50
* @param {number} [conf.max_stack_trace_line_length=200] - maximum amount of characters are allowed per stack trace line. This limits also the crash message length
52
51
* @param {StorageTypes} conf.storage_type - to determine which storage type is going to be applied
52
+
* @param {Object} conf.custom_storage_method - user given storage methods
53
+
* @param {boolean} [conf.persist_queue=false] - *DEPRECATED* persistent mode instead of using in-memory queue. Use storage_type and storage_path instead
53
54
* @example
54
55
* var server = new CountlyBulk({
55
56
* app_key: "{YOUR-API-KEY}",
@@ -75,8 +76,6 @@ function CountlyBulk(conf) {
75
76
varmaxBreadcrumbCount=100;
76
77
varmaxStackTraceLinesPerThread=30;
77
78
varmaxStackTraceLineLength=200;
78
-
varstorageType=StorageTypes.FILE;
79
-
80
79
cc.debugBulk=conf.debug||false;
81
80
if(!conf.app_key){
82
81
cc.log(cc.logLevelEnums.ERROR,"CountlyBulk, 'app_key' is missing.");
0 commit comments