dcp-worker 4.4.2 → 4.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/utils.js +2 -2
- package/package.json +1 -1
- package/www/hud/small-dark.html +1 -0
package/lib/utils.js
CHANGED
|
@@ -207,9 +207,9 @@ async function registerWorker(worker, rkey, label, errorReporter)
|
|
|
207
207
|
return errorReporter('invalid registration key');
|
|
208
208
|
|
|
209
209
|
if (label)
|
|
210
|
-
debug('dcp-worker:registration')('registering worker with key', rkey, 'and label', label);
|
|
210
|
+
debug('dcp-worker:registration')('registering worker with key', rkey.slice(0,8), 'and label', label);
|
|
211
211
|
else
|
|
212
|
-
debug('dcp-worker:registration')('registering worker with key', rkey);
|
|
212
|
+
debug('dcp-worker:registration')('registering worker with key', rkey.slice(0,8));
|
|
213
213
|
|
|
214
214
|
const reg = await worker.register(rkey, label);
|
|
215
215
|
if (!(reg instanceof Error))
|
package/package.json
CHANGED
package/www/hud/small-dark.html
CHANGED
|
@@ -394,6 +394,7 @@ class DistributiveWorkerLink
|
|
|
394
394
|
<center><h3>DCP Worker</h3></center>
|
|
395
395
|
</div>
|
|
396
396
|
<table>
|
|
397
|
+
<tr><th>Worker Id:</th> <td run-info="workerId" class="dcp-fixed-font"></td></tr>
|
|
397
398
|
<tr><th>Running Since:</th> <td run-info="startTime"></td></tr>
|
|
398
399
|
<tr><th>Earnings Since Start:</th> <td run-info="totalEarnings" class="dcp-amount"></td></tr>
|
|
399
400
|
<tr><th>Earnings Account:</th> <td run-info="earningsAccount" class="dcp-fixed-font"></td></tr>
|