lp:~rainct/zeitgeist/limit-dbus-mb
Created by
Siegfried Gevatter
and last modified
- Get this branch:
- bzr branch lp:~rainct/zeitgeist/limit-dbus-mb
Only
Siegfried Gevatter
can upload to this branch. If you are
Siegfried Gevatter
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Michal Hruby (community): Approve
-
Diff: 101 lines (+45/-3)4 files modifiedsrc/datamodel.vala (+40/-0)
src/errors.vala (+2/-1)
src/utils.vala (+1/-0)
src/zeitgeist-daemon.vala (+2/-2)
Branch information
Recent revisions
- 450. By Siegfried Gevatter
-
Set a limit on the result size FindEvents and GetEvents may return.
D-Bus has a hard limit of 1GB of data per call and Gio limits us to
100MB. We need to ensure we don't go over this limit, since otherwise
Zeitgeist will crash. Additionally, ransfers of such size take several
minutes and are clear misuse of the Zeitgeist engine.Therefore, this commit limit the result of FindEvents and GetEvents calls
to not more than 4MiB of data (2MiB would probably be enough, but let's
leave some margin). Queries requesting more than this limit will get
an exception. - 448. By Siegfried Gevatter
-
MIME-Types:
- Remove application/x-object, we don't want it as SOURCE_CODE.
- Add additional mappings, from en.wikipedia.org/wiki/ Internet_ media_type
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~zeitgeist/zeitgeist/bluebird