Bug #438
lag in writing to big history files
| Status: | New | Start: | ||
| Priority: | Normal | Due date: | ||
| Assigned to: | Aleksey Palazhchenko | % Done: | 0% |
|
| Category: | Backend/Core | |||
| Target version: | - | |||
| Operating System: | All |
Reported in: | 0.9.3 |
|
Description
-- Quote rusty: http://psi-im.org/forum/thread/2709 --
I noticie that when I write to a contact with large log file, there is an important lag (about 1-2 seconds for 5 Mb log).
An strace of psi show me that psi is reading the whole history file before appending the text. It is not happening for each
line appended, but only when the file decscripor of log is closed.
-- end quote --
-- This task may be closed if it is automatically fixed with the overhaul of the history system --
History
Updated by Mircea Bardac 1659 days ago
Apparently, this might have been fixed by a recent commit in the Darcs repository.
http://dev.psi-im.org/darcs/web/darcsweb.cgi?r=psi;a=commit;h=20060216112126-23a35-33417d60cee8cce0337addda0e771704e1b84791.gz
It is unlikely for this get fixed prior to the History Revamp.