Created by Siegfried Gevatter on 2012-03-26 and last modified on 2012-03-26
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

Related bugs

Related blueprints

Branch information

Siegfried Gevatter
Zeitgeist Framework

Recent revisions

451. By Siegfried Gevatter on 2012-03-26

Add limit parameter to Events.to_variant_with_limit

450. By Siegfried Gevatter on 2012-03-26

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.

449. By Siegfried Gevatter on 2012-03-26

sql.vala: fix formatting typo

448. By Siegfried Gevatter on 2012-03-20

 - Remove application/x-object, we don't want it as SOURCE_CODE.
 - Add additional mappings, from en.wikipedia.org/wiki/Internet_media_type

447. By Michal Hruby on 2012-03-20

Release 0.8.99~beta1

446. By Michal Hruby on 2012-03-20

But it's so much nicer without the warnings

445. By Michal Hruby on 2012-03-20

Add Event.take_subject

444. By Michal Hruby on 2012-03-20

Make sure make check passes

443. By Siegfried Gevatter on 2012-03-19

Fix FTS tests.

442. By Michal Hruby on 2012-03-19

Fix tests

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.