update example and execution

This commit is contained in:
Timur Gordon
2025-08-26 17:16:01 +02:00
parent 010ecc7c71
commit 4958cd68c2
7 changed files with 171 additions and 240 deletions

View File

@@ -33,13 +33,15 @@ if help_requested {
mut r := &runner.Runner{
name: runner_name
namespace: namespace
redis_conn: redisclient.new(
if redis_url.len > 0 {
redis_url
} else {
'127.0.0.1:6379'
}
)!
client: &runner.Client{
redis_conn: redisclient.new(
if redis_url.len > 0 {
redis_url
} else {
'127.0.0.1:6379'
}
)!
}
}
spawn r.run()