from logger import logger
from seriesly import Seriesly

from perfrunner.settings import StatsSettings


def main():
    s = Seriesly(StatsSettings.SERIESLY['host'])
    for db in s.list_dbs():
        logger.info('Compacting {}'.format(db))
        result = s[db].compact()
        logger.info('Compaction finished: {}'.format(result))


if __name__ == '__main__':
    main()

from logger import logger
from seriesly import Seriesly

from perfrunner.settings import StatsSettings


def main():
    s = Seriesly(StatsSettings.SERIESLY)
    for db in s.list_dbs():
        logger.info('Compacting {}'.format(db))
        result = s[db].compact()
        logger.info('Compaction finished: {}'.format(result))


if __name__ == '__main__':
    main()

Update reference to Seriesly hostname
Update reference to Seriesly hostname

Change-Id: I03eb6b3551e21d6987f15ec236c40546b312e663
Reviewed-on: http://review.couchbase.org/71447
Reviewed-by: Pavel Paulau <dd88eded64e90046a680e3a6c0828ceb8fe8a0e7@gmail.com>
Tested-by: buildbot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>
