mirror of
https://github.com/vlang/v.git
synced 2025-09-17 03:17:25 -04:00
vweb: fix typo in vweb.v (#19513)
This commit is contained in:
parent
e87d743b0a
commit
13c9006667
@ -1107,10 +1107,10 @@ fn new_worker[T](ch chan &RequestParams, id int) thread {
|
||||
id: id
|
||||
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'
|
||||
for {
|
||||
mut params := <-w.ch or { break }
|
||||
|
Loading…
x
Reference in New Issue
Block a user