This commit is contained in:
2025-03-24 06:44:39 +01:00
parent 0df10f5cb3
commit 598b312140
371 changed files with 8238 additions and 9082 deletions

View File

@@ -50,7 +50,9 @@ pub:
pub fn (mut q RedisRpc) call(args RPCArgs) !string {
timeout := if args.timeout == 0 {
u64(60000)
} else {args.timeout}
} else {
args.timeout
}
retqueue := rand.uuid_v4()
now := time.now().unix()
message := Message{
@@ -92,7 +94,7 @@ pub fn (mut q RedisRpc) result(timeout u64, retqueue string) !string {
pub struct ProcessParams {
pub:
interval time.Duration = time.millisecond * 10
timeout u64
timeout u64
}
// to be used by processor, to get request and execute, this is the server side of a RPC mechanism