Re: [ecasound] [PATCH] libecasoundc: retry eci_impl_fd_read() even if poll timeout (was: Re: eci_init() fails on MIPS)

From: Alessandro Ghedini <alessandro@email-addr-hidden>
Date: Thu Feb 06 2014 - 23:52:54 EET

On mar, feb 04, 2014 at 09:44:27 +0200, Kai Vehmanen wrote:
> >So, a possible solution would be to retry the eci_impl_fd_read() even if the
> >timeout has expired. That part of the code is already run in a loop for, at
> >most, ECI_MAX_RESYNC_ATTEMPTS times, so there should be no risk in getting stuck
> >there.
>
> That probably fixes it, but as the function is called sometimes with
> a large timeout (30sec), combined with 9 retries, it'll cause quite
> long delays to get notified of errors when something goes wrong.
>
> Could you try bumping ECI_READ_TIMEOUT_MS to 15000 and see if that
> helps...?

Yes, that works as well. I'm going to upload a new ecasound Debian package with
this new timer value and see how it goes.

Cheers

-- 
perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk

_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Received on Fri Feb 7 00:15:03 2014

This archive was generated by hypermail 2.1.8 : Fri Feb 07 2014 - 00:15:03 EET