repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix WRR worker choice strategy implementation
[poolifier.git]
/
examples
/
typescript
/
worker.ts
diff --git
a/examples/typescript/worker.ts
b/examples/typescript/worker.ts
index ff75fb44f3b15707a7b27f76b00fa2937a8044ac..8350ebf94b1c36179334f1d9735884227f5b40ed 100644
(file)
--- a/
examples/typescript/worker.ts
+++ b/
examples/typescript/worker.ts
@@
-21,7
+21,7
@@
class MyThreadWorker extends ThreadWorker<MyData, Promise<MyResponse>> {
return new Promise(resolve => {
setTimeout(() => {
resolve({ message: 'Hello from Worker :)', data })
- }, 10
_
000)
+ }, 10000)
})
}
}