Skip to content

Commit

Permalink
Set the default cache-age to 'never'
Browse files Browse the repository at this point in the history
This certainly makes more sense than 'always'.
  • Loading branch information
hughsie committed Mar 7, 2014
1 parent 8b8997e commit 1615ace
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/packagekit-glib2/pk-client.c
Original file line number Diff line number Diff line change
Expand Up @@ -4944,7 +4944,7 @@ pk_client_get_idle (PkClient *client)
/**
* pk_client_set_cache_age:
* @client: a valid #PkClient instance
* @cache_age: the cache age to set
* @cache_age: the cache age to set, where %G_MAXUINT means "never"
*
* Sets the maximum cache age value for the client.
*
Expand Down Expand Up @@ -5051,7 +5051,7 @@ pk_client_init (PkClient *client)
client->priv->background = FALSE;
client->priv->interactive = TRUE;
client->priv->idle = TRUE;
client->priv->cache_age = 0;
client->priv->cache_age = G_MAXUINT;

/* use a control object */
client->priv->control = pk_control_new ();
Expand Down

0 comments on commit 1615ace

Please sign in to comment.