Skip to content

Commit c650925

Browse files
gustavodemarimichaelklishin
authored andcommitted
adding queue name in the tutorial code example, because when you use the same queue name of the tutorial one, you get problems because the queue already exists
1 parent 52bdd08 commit c650925

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

site/tutorials/tutorial-two-javascript.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ program will schedule tasks to our work queue, so let's name it
7676
`new_task.js`:
7777

7878
:::javascript
79+
var q = 'task_queue';
7980
var msg = process.argv.slice(2).join(' ') || "Hello World!";
8081

8182
ch.assertQueue(q, {durable: true});

0 commit comments

Comments
 (0)