Jakob Ackermann

Results 134 comments of Jakob Ackermann

I searched a few hours in stdlib/``asyncio`` code and in asyncio related issues/articles, but found nothing useful for this issue. From the test results I would rather blame ``asyncio`` instead...

@phoerious Did you increased the process limit for the user which is used to run the bots? re https://github.com/hangoutsbot/hangoutsbot/issues/866#issuecomment-313887198 > The command ``ulimit -u `` can be used to increase...

Looking at your fix in detail, I found [this](https://github.com/python/cpython/blob/master/Lib/asyncio/base_events.py#L631..L632) and [this](https://github.com/python/cpython/blob/master/Lib/concurrent/futures/thread.py#L100) part, which set the thread limit if none was specified: ``` @asyncio.BaseEventLoop.run_in_executor(self, executor, ...) if executor is None: executor...

@vaindil your comment disappeared somehow. > it's in 194 groups and uses 276MB That's quite high, which plugins are you using? uptime? _I am running a custom version: One of...

@vaindil Agree, we should better open a new issue for the memory leak.

in addition the hangups conversation does not support the use of annotation for sending: https://github.com/tdryer/hangups/blob/master/hangups/conversation.py#L399

IIRC for the php version I had to patch the duplicate check. Multiple classes were using the db-access method from the reader class, hence inheriting the need for a read-scope.

Hello @daniel-beck, Thank you for your feedback! I've added tests for the model on (de-)serialization, checking of bounds and handling of default values via c962e36afa6e6af051d8cfde2436424019fcb65f. Do they cover your concerns...

> > The user experience is poor when decreasing the interval, say from 24h to 10s. > > It can take hours for the previous timer (with 24h delay) to...

You could store all message ids per conversation in a `dict` with `list`s. Later you are able to delete messages of a specifiy conversation via `telepot.Bot.deleteMessage(, )` or its async...