File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ PROCESS::<$SCHEDULER> := ThreadPoolScheduler.new(max_threads => 4);
220
220
my $ kill = Promise . new ;
221
221
my $ started = Promise . new ;
222
222
my $ ok = start react {
223
- whenever IO ::Socket::Async. listen(' localhost' , 3333 ) -> $ conn {
223
+ whenever IO ::Socket::Async. listen(' localhost' , 4893 ) -> $ conn {
224
224
whenever $ conn . Supply (: bin) -> $ buf {
225
225
await $ conn . write : $ buf ;
226
226
$ conn . close ;
@@ -234,7 +234,7 @@ PROCESS::<$SCHEDULER> := ThreadPoolScheduler.new(max_threads => 4);
234
234
my @ responses ;
235
235
for ^ 20 {
236
236
react {
237
- whenever IO ::Socket::Async. connect (' localhost' , 3333 ) -> $ client {
237
+ whenever IO ::Socket::Async. connect (' localhost' , 4893 ) -> $ client {
238
238
await $ client . write (' is this thing on?' . encode(' ascii' ));
239
239
whenever $ client . Supply (: bin) {
240
240
push @ responses , . decode(' ascii' );
You can’t perform that action at this time.
0 commit comments