X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ovsdb%2Ffile.c;h=b02d5a3b2bf86696c498fc3b5b292cca2643a6cc;hb=485e2766d816a18e1a51ddf5e12e55f38aeedf89;hp=fd646f01cbbffa27abe1825116ca82bbe3950eb3;hpb=cb22974d773942d66da42b700b8bca0db27a0920;p=sliver-openvswitch.git diff --git a/ovsdb/file.c b/ovsdb/file.c index fd646f01c..b02d5a3b2 100644 --- a/ovsdb/file.c +++ b/ovsdb/file.c @@ -598,8 +598,8 @@ ovsdb_file_commit(struct ovsdb_replica *replica, } file->n_transactions++; - /* If it has been at least COMPACT_MIN_MSEC millseconds since the last time - * we compacted (or at least COMPACT_RETRY_MSEC since the last time we + /* If it has been at least COMPACT_MIN_MSEC ms since the last time we + * compacted (or at least COMPACT_RETRY_MSEC ms since the last time we * tried), and if there are at least 100 transactions in the database, and * if the database is at least 10 MB, then compact the database. */ if (time_msec() >= file->next_compact