File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ def cleanBundles(self):
110110 server will automatically clean up old bundles once a week as part of Scheduled Tasks.
111111 """
112112 # TODO: Should this check the response for success or the correct mediaprefix?
113- self ._server .query ('/library/clean/bundles' )
113+ self ._server .query ('/library/clean/bundles?async=1' , method = self . _server . _session . put )
114114
115115 def emptyTrash (self ):
116116 """ If a library has items in the Library Trash, use this option to empty the Trash. """
@@ -122,7 +122,7 @@ def optimize(self):
122122 For example, if you have deleted or added an entire library or many items in a
123123 library, you may like to optimize the database.
124124 """
125- self ._server .query ('/library/optimize' )
125+ self ._server .query ('/library/optimize?async=1' , method = self . _server . _session . put )
126126
127127 def update (self ):
128128 """ Scan this library for new items."""
You can’t perform that action at this time.
0 commit comments