4968: Fix polling refresh on project directories
authorPeter Amstutz <peter.amstutz@curoverse.com>
Fri, 9 Jan 2015 02:26:32 +0000 (21:26 -0500)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Mon, 12 Jan 2015 21:22:04 +0000 (16:22 -0500)
services/fuse/arvados_fuse/__init__.py
services/fuse/bin/arv-mount

index 80ad6b334392e0cb4c5cfda414acf7d84d880cda..148a9a654b1cb3aa4e4627548a11b0c42e5005b6 100644 (file)
@@ -526,6 +526,8 @@ class ProjectDirectory(Directory):
         self.project_object = project_object
         self.project_object_file = None
         self.uuid = project_object['uuid']
+        self._poll = poll
+        self._poll_time = poll_time
 
     def createDirectory(self, i):
         if collection_uuid_pattern.match(i['uuid']):
index 5b161fd2be57345dc52b1b120dc5079ecca3f28e..68cd09c1e83fa443978a11650d505d5aa519bc60 100755 (executable)
@@ -98,6 +98,7 @@ with "--".
         elif args.home:
             dir_class = ProjectDirectory
             dir_args.append(usr)
+            dir_args.append(True)
         elif args.collection is not None:
             # Set up the request handler with the collection at the root
             dir_class = CollectionDirectory
@@ -117,6 +118,7 @@ with "--".
             e._entries['by_tag'] = operations.inodes.add_entry(TagsDirectory(*dir_args))
 
             dir_args.append(usr)
+            dir_args.append(True)
             e._entries['home'] = operations.inodes.add_entry(ProjectDirectory(*dir_args))
             e._entries['shared'] = operations.inodes.add_entry(SharedDirectory(*dir_args))