Skip to content

Commit

Permalink
fix(Database): temporarily disable account caching
Browse files Browse the repository at this point in the history
this is causing issue #10
  • Loading branch information
Cleiton Floss committed Feb 9, 2018
1 parent 99a4079 commit baa6099
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/database/Database.vala
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,10 @@ namespace Envelope.DB {
* @return the list of accounts
*/
public Collection<Account> load_all_accounts () throws SQLHeavy.Error {
if (!account_cache.is_empty) {
return account_cache.values;
}
// if (!account_cache.is_empty) {
// message ("LOAD RETURNED");
// return account_cache.values;
// }

var list = new TreeSet<Account> ();

Expand Down

0 comments on commit baa6099

Please sign in to comment.