File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 42
42
"https://meshtastic.org" ,
43
43
"https://flash.meshtastic.org" ,
44
44
"https://flasher.meshtastic.org" ,
45
+ "https://map.meshtastic.org" ,
45
46
] ;
46
47
47
48
// return origin if it is in the whitelist
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { GatewayStreamResponse } from "@buf/meshtastic_api.bufbuild_es/protobufs
4
4
import type { GatewayService } from "@buf/meshtastic_api.connectrpc_es/protobufs/gateway/v1/gateway_service_connect.js" ;
5
5
import { prisma } from "../lib/index.js" ;
6
6
import { Timestamp } from "@bufbuild/protobuf" ;
7
- import { Channel } from "@prisma/client" ;
7
+ import type { Channel } from "@prisma/client" ;
8
8
9
9
export class Gateway implements ServiceImpl < typeof GatewayService > {
10
10
public async * gatewayStream ( ) : AsyncGenerator < GatewayStreamResponse > {
@@ -22,9 +22,8 @@ export class Gateway implements ServiceImpl<typeof GatewayService> {
22
22
} ) ;
23
23
24
24
for ( const gateway of gateways ) {
25
- console . log ( "sending gateway" , gateway . id ) ;
26
25
//delay for 1 second
27
- await new Promise ( ( resolve ) => setTimeout ( resolve , 1000 ) ) ;
26
+ await new Promise ( ( resolve ) => setTimeout ( resolve , 100 ) ) ;
28
27
yield new GatewayStreamResponse ( {
29
28
gateway : {
30
29
id : gateway . id ,
You can’t perform that action at this time.
0 commit comments