[tarantool-patches] [PATCH v7] Configurable syslog destination
Vladimir Davydov
vdavydov.dev at gmail.com
Wed Aug 8 14:23:21 MSK 2018
On Wed, Aug 08, 2018 at 01:40:34PM +0300, Olga Krishtal wrote:
> > > +-- make sure that socket would not block
> > > +while unix_socket:readable(1) do
> >
> > This timeout is way too long. It will increase the test run time by
> > 1 second. Plus 1 second per each socket.readable call below, that is
> > 4 seconds in total.
> >
> > We strive to make our tests run faster whenever possible. AFAIU you
> > don't need to wait for that long. A timeout of say 1 ms (0.001) should
> > do just fine. Please fix the timeout and re-push the test. No need to
> > resend the patch - just reply to this email once you're done.
> >
> >
>
> Done
> Have pushed branch
>
> OKriw/gh-3487-syslog-conf-dest-1.10
Please don't drop the mailing list from Cc (use Reply-All).
Also, I suspect that you use GMail web interface. Please don't
as it mangles patches, just like Mail.ru. Use Thunderbird.
Also, you forgot to add 'Closes #3487'. I added it, don't bother.
Also, there were trailing spaces I didn't notice during review:
> +unix_socket:close()
> +os.remove(path)
I removed them this time. In order not to miss trailing spaces in
future, please add the following two lines to your .gitconfig:
[color]
ui = true
(it will make git show/diff highlight trailing spaces)
I pushed the patch to 1.10. Please open a ticket for documentation.
In future write feature documentation requests right in the commit
message (see @TarantoolBot).
More information about the Tarantool-patches
mailing list