Async DB tweaks

Some tweaks that are independent of feed discovery.