Commit 43e476e01a8cdc7e66f834dd1711aaba39644825

Authored by Adhidarma Hadiwinoto
1 parent 5d6e8a69e5
Exists in master

matrix pending count

Showing 1 changed file with 6 additions and 3 deletions Side-by-side Diff

... ... @@ -16,16 +16,19 @@ if (config.handler_name) {
16 16 process.title = "KOMODO-GW@" + config.handler_name;
17 17 }
18 18  
19   -if (!matrix.pending_tasks) {
  19 +if (!matrix.sdk_pending_tasks) {
20 20 matrix.sdk_pending_tasks = [];
  21 + matrix.sdk_pending_tasks_count = 0;
21 22 }
22 23  
23   -if (!matrix.active_tasks) {
  24 +if (!matrix.sdk_active_tasks) {
24 25 matrix.sdk_unresponsed_tasks = [];
  26 + matrix.sdk_unresponsed_tasks_count = 0;
25 27 }
26 28  
27   -if (!matrix.pending_with_response_tasks) {
  29 +if (!matrix.sdk_pending_with_response_tasks) {
28 30 matrix.sdk_pending_with_response_tasks = [];
  31 + matrix.sdk_pending_with_response_tasks_count = 0;
29 32 }
30 33  
31 34 heartbeat.setModuleType('gateway');