Skip to content

Commit 21fd61c

Browse files
committed
fix pubnub config
1 parent 05e7255 commit 21fd61c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/dandi-index/dandi-index-query-job-runner/src/jobRunner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class JobRunner {
3636
this.pubnub = new PubNub({
3737
subscribeKey,
3838
publishKey,
39-
userId: `job-runner-${Math.random().toString(36).slice(2, 9)}`
39+
userId: `job-runner`
4040
});
4141
this.jobChannel = jobChannel;
4242
this.responseChannel = responseChannel;

src/pages/DandiPage/experimentalSearch/jobRunnerClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export class JobRunnerClient {
4545
this.pubnub = new PubNub({
4646
subscribeKey,
4747
publishKey,
48-
userId: `web-client-${Math.random().toString(36).slice(2, 9)}`,
48+
userId: `web-client`,
4949
});
5050

5151
// Create subscription to response channel

0 commit comments

Comments
 (0)