-
Notifications
You must be signed in to change notification settings - Fork 739
Closed
Description
not_expire is the same as is_expire in the request.ts file. This is a bug.
wasm-micro-runtime/assembly-script/wamr_app_lib/request.ts
Lines 125 to 141 in e53ab91
| function is_expire(trans: wamr_transaction, index: i32, array: Array<wamr_transaction>): bool { | |
| var now = timer.now(); | |
| var elapsed_ms = (now < trans.time) ? | |
| (now + (0xFFFFFFFF - trans.time) + 1) : (now - trans.time); | |
| return elapsed_ms >= TRANSACTION_TIMEOUT_MS; | |
| } | |
| function not_expire(trans: wamr_transaction, index: i32, array: Array<wamr_transaction>): bool { | |
| var now = timer.now(); | |
| var elapsed_ms = (now < trans.time) ? | |
| (now + (0xFFFFFFFF - trans.time) + 1) : (now - trans.time); | |
| return elapsed_ms >= TRANSACTION_TIMEOUT_MS; | |
| } |
Metadata
Metadata
Assignees
Labels
No labels