network:// first-time mount timeout
- From: "Matthias Clasen" <matthias clasen gmail com>
- To: nautilus-list gnome org
- Subject: network:// first-time mount timeout
- Date: Sat, 1 Mar 2008 01:23:40 -0500
The recompute_files method in gvfsbackendnetwork.c takes quite some
time, since it enumerates the files for both smb:// and dns-sd. This
causes nautilus to run into a short dbus timeout. Here is a patch that
seems to fix the problem for me. Independently, it would probably be a
good idea to reduce the overhead in recompute_files.
diff -up gvfs-0.1.8/client/gdaemonvfs.c.timeout gvfs-0.1.8/client/gdaemonvfs.c
--- gvfs-0.1.8/client/gdaemonvfs.c.timeout 2008-03-01
01:19:09.000000000 -0500
+++ gvfs-0.1.8/client/gdaemonvfs.c 2008-03-01 01:19:14.000000000 -0500
@@ -699,7 +700,8 @@ _g_daemon_vfs_get_mount_info_async (GMou
data->callback = callback;
data->user_data = user_data;
- _g_dbus_connection_call_async (the_vfs->async_bus, message, 2000,
+ _g_dbus_connection_call_async (the_vfs->async_bus, message,
+ G_VFS_DBUS_TIMEOUT_MSECS,
async_get_mount_info_response,
data);
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]