old_contents: try:
      from .rq import q
      HASRQ = True
  except:
      HASRQ = False
  
  
  class AsyncSave(object):
  
      def __init__(self, base):
          self.base = base
  
      def save(self, name, data):
          if HASRQ:
              q.enqueue(self.base.save, name, data)
          else:
              return self.base.save(name, data)
  
      def __getattr__(self, name):
          return getattr(self.base, name)
  
  
  def asyncsave(base):
      return AsyncSave(base)
  
new_contents: try:
      from .rq import q
      HASRQ = True
  except:
      HASRQ = False
  
  from .log import Log
  
  log = Log(__name__)
  
  
  class AsyncSave(object):
  
      def __init__(self, base):
          self.base = base
          log.info('make async save, has rq: {}'.format(HASRQ))
  
      def save(self, name, data):
          if HASRQ:
              q.enqueue(self.base.save, name, data)
          else:
              return self.base.save(name, data)
  
      def __getattr__(self, name):
          return getattr(self.base, name)
  
  
  def asyncsave(base):
      return AsyncSave(base)
  
subject: add rq log