We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e5fe8e commit da128f5Copy full SHA for da128f5
src/main.zig
@@ -138,7 +138,7 @@ fn run(alloc: Allocator) !void {
138
defer server.deinit();
139
140
// max timeout of 1 week.
141
- const timeout = if (opts.timeout > 604_800) 604_800_000 else @as(i32, @intCast(opts.timeout)) * 1000;
+ const timeout = if (opts.timeout > 604_800) 604_800_000 else @as(i32, opts.timeout) * 1000;
142
server.run(address, timeout) catch |err| {
143
log.fatal(.app, "server run error", .{ .err = err });
144
return err;
0 commit comments