File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,9 @@ class MqttQueue {
7171 } else if ( data . portnum === Protobuf . Portnums . PortNum . TEXT_MESSAGE_APP ) {
7272 //cache in redis
7373 redis . set (
74- `mqttMessage-${ packet . gatewayId } -${ packet . channelId } -${ Date ( ) . now ( ) } ` ,
74+ `mqttMessage-${ packet . gatewayId } -${
75+ packet . channelId
76+ } -${ new Date ( ) . getTime ( ) } `,
7577 JSON . stringify ( {
7678 from : packet . packet . from ,
7779 to : packet . packet . to ,
Original file line number Diff line number Diff line change 1- // import {} from "@buf/meshtastic_api.bufbuild_es/protobufs/gateway/v1/gateway_pb.js";
1+ import { } from "@buf/meshtastic_api.bufbuild_es/protobufs/gateway/v1/gateway_pb.js" ;
22import { GatewayStreamResponse } from "@buf/meshtastic_api.bufbuild_es/protobufs/gateway/v1/gateway_service_pb.js" ;
33import type { GatewayService } from "@buf/meshtastic_api.connectrpc_es/protobufs/gateway/v1/gateway_service_connect.js" ;
44import { Timestamp } from "@bufbuild/protobuf" ;
You can’t perform that action at this time.
0 commit comments