egos-transfer 0.2.9 → 0.2.10

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.
@@ -467,7 +467,7 @@ class PeerTransfer {
467
467
  onRequest(conn, message) {
468
468
  return __awaiter(this, void 0, void 0, function* () {
469
469
  console.info('onRequest===>', message.route);
470
- this.resetIdleTimer();
470
+ // this.resetIdleTimer();
471
471
  try {
472
472
  yield this.router.run(conn, message);
473
473
  }
@@ -479,7 +479,7 @@ class PeerTransfer {
479
479
  onResponse(_conn, message) {
480
480
  return __awaiter(this, void 0, void 0, function* () {
481
481
  console.info('onResponse<====', message.route);
482
- this.resetIdleTimer();
482
+ // this.resetIdleTimer();
483
483
  // 优先检查 health check ping 回调
484
484
  const cb = this.requests.get(message.requestId);
485
485
  if (cb) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egos-transfer",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "description": "1234",
5
5
  "homepage": "https://github.com/superbogy/peer-transfer#readme",
6
6
  "bugs": {
@@ -562,7 +562,7 @@ export abstract class PeerTransfer {
562
562
 
563
563
  async onRequest(conn: DataConnection, message: PeerMessage) {
564
564
  console.info('onRequest===>', message.route);
565
- this.resetIdleTimer();
565
+ // this.resetIdleTimer();
566
566
  try {
567
567
  await this.router.run(conn, message);
568
568
  } catch (err: any) {
@@ -572,7 +572,7 @@ export abstract class PeerTransfer {
572
572
 
573
573
  async onResponse(_conn: DataConnection, message: PeerMessage) {
574
574
  console.info('onResponse<====', message.route);
575
- this.resetIdleTimer();
575
+ // this.resetIdleTimer();
576
576
  // 优先检查 health check ping 回调
577
577
  const cb = this.requests.get(message.requestId);
578
578
  if (cb) {