nbari
nbari
I am using the cron that comes by default in the latest FreeBSD 13 (amd64): https://www.freebsd.org/cgi/man.cgi?cron(8)
It has been working "fine" (https://github.com/s3m/s3m/blob/master/src/s3m/options.rs#L211) but I never tested within a `cron`. > atty::is returns true if stdin is connected to a tty I have been using it to...
I will give it a try, thanks for sharing 👍
From a cron, I still getting like if there is something to read from `stdin`, wondering what could be the cons of using something like this: ``` let mut line...
The problem I am trying to solve is to prevent reading from `stdin` when launching my app from a `cron` when indeed there is nothing in `stdin`. my app is...
I will search more about it, how could I test the file type?
From https://mariadb.com/kb/en/com_quit/: > [int](https://mariadb.com/kb/en/protocol-data-types/#fixed-length-integers) 0x01 : COM_QUIT Header I found here: https://github.com/blackbeam/mysql_async/blob/e41e2415569afe20732fefcf70bc90d52dc53edf/src/conn/mod.rs#L403 Tried already with something like self.write_command_data(Command::COM_QUIT, &[1]).await?; But no luck, any ideas?
Hi @blackbeam , thanks , regarding the `OptsBuilder::pool_options.` I am testing with something like this: opts.pool_options(mysql_async::PoolOptions::with_constraints( mysql_async::PoolConstraints::new(10, 50).unwrap(), )); let pool = mysql_async::Pool::new(opts); let conn = pool.get_conn().await.unwrap_or_else(|e| { eprintln!("Could not...
How could then I create the pool and then pass it as a reference, or it is going to fill up after used 10 times for example? I was thinking...
Hi, while moving code from `mysql` to `mysql_async` again hit the issue with `ip_or_hostname` any change that in the next release these changes could be unified? I mainly use https://crates.io/crates/dsn...