[ovs-dev] [PATCH] ovsdb: Fix typo in comment ("millseconds").

Justin Pettit jpettit at nicira.com
Mon Feb 25 18:07:38 UTC 2013


Looks good.

--Justin


On Feb 25, 2013, at 10:05 AM, Ben Pfaff <blp at nicira.com> wrote:

> Signed-off-by: Ben Pfaff <blp at nicira.com>
> ---
> ovsdb/file.c |    4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/ovsdb/file.c b/ovsdb/file.c
> index fd646f0..b02d5a3 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
> -- 
> 1.7.2.5
> 
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev




More information about the dev mailing list