[virt-tools-list] [PATCH] Adjust timer to refresh ovirt foreign menu

Christophe Fergeau cfergeau at redhat.com
Thu Jun 30 12:13:24 UTC 2016


Hey,

I'd add a sentence describing what the bug is about (flooding oVirt
log), apart from this

Acked-by: Christophe Fergeau <cfergeau at redhat.com>

Christophe

On Thu, Jun 30, 2016 at 09:01:17AM -0300, Eduardo Lima (Etrunko) wrote:
> This is a temporary solution, as discussed in the bug. We will adjust
> the timer to refresh the ISO list from 15 seconds to 5 minutes (300
> seconds), while reworking in the UI to replace the menu with a dialog,
> which seems a saner way to display the list.
> 
> Resolves: rhbz#1347726
> 
> Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
> ---
>  src/ovirt-foreign-menu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/ovirt-foreign-menu.c b/src/ovirt-foreign-menu.c
> index 2d286fb..33ff4f1 100644
> --- a/src/ovirt-foreign-menu.c
> +++ b/src/ovirt-foreign-menu.c
> @@ -797,7 +797,7 @@ static void iso_list_fetched_cb(GObject *source_object,
>      ovirt_foreign_menu_set_files(OVIRT_FOREIGN_MENU(user_data), files);
>      g_list_free(files);
>  
> -    g_timeout_add_seconds(15, ovirt_foreign_menu_refresh_iso_list, user_data);
> +    g_timeout_add_seconds(300, ovirt_foreign_menu_refresh_iso_list, user_data);
>  }
>  
>  
> -- 
> 2.5.5
> 
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20160630/eeb7c884/attachment.sig>


More information about the virt-tools-list mailing list