From c3715089f4d0e373a9ea1b9178057b66c9d78e17 Mon Sep 17 00:00:00 2001 From: Andy Li <1450947+andy1li@users.noreply.github.com> Date: Wed, 30 Apr 2025 02:46:40 +0800 Subject: [PATCH] fix: Update XREAD command wait time from 2000ms to 1000ms in course-definition.yml --- course-definition.yml | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/course-definition.yml b/course-definition.yml index 6e6d7a6..c74eaa7 100644 --- a/course-definition.yml +++ b/course-definition.yml @@ -2893,17 +2893,19 @@ stages: [ "stream_key", [ - "0-2", [ - "temperature", - "96" + "0-2", + [ + "temperature", + "96" + ] ] ] ] ] ``` - It'll send another `XREAD` command to your server with the `BLOCK` command but this time, it'll wait for 2000 milliseconds before checking the response of your server. + It'll send another `XREAD` command to your server with the `BLOCK` command but this time, it'll wait for 1000 milliseconds before checking the response of your server. ```bash $ redis-cli XREAD block 1000 streams stream_key 0-2 @@ -3018,10 +3020,12 @@ stages: [ "stream_key", [ - "0-2", [ - "temperature", - "95" + "0-2", + [ + "temperature", + "95" + ] ] ] ] @@ -3146,17 +3150,19 @@ stages: [ "stream_key", [ - "0-2", [ - "temperature", - "95" + "0-2", + [ + "temperature", + "95" + ] ] ] ] ] ``` - It'll send another `XREAD` command to your server with the `BLOCK` command but this time, it'll wait for 2000 milliseconds before checking the response of your server. + It'll send another `XREAD` command to your server with the `BLOCK` command but this time, it'll wait for 1000 milliseconds before checking the response of your server. ```bash $ redis-cli XREAD block 1000 streams stream_key $