vweb: fix typo in vweb.v (#19513)

This commit is contained in:
emacser 2023-10-05 20:22:17 +09:00 committed by GitHub
parent e87d743b0a
commit 13c9006667
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1107,10 +1107,10 @@ fn new_worker[T](ch chan &RequestParams, id int) thread {
id: id id: id
ch: ch ch: ch
} }
return spawn w.process_incomming_requests[T]() return spawn w.process_incoming_requests[T]()
} }
fn (mut w Worker[T]) process_incomming_requests() { fn (mut w Worker[T]) process_incoming_requests() {
sid := '[vweb] tid: ${w.id:03d} received request' sid := '[vweb] tid: ${w.id:03d} received request'
for { for {
mut params := <-w.ch or { break } mut params := <-w.ch or { break }