Memoize Gitlab::Database.version
This method will perform a query on every call. While this query is very fast, it's not necessary. After memoizing this method we may need to adjust some specs so they reset the instance variable in the right place.
This method will perform a query on every call. While this query is very fast, it's not necessary. After memoizing this method we may need to adjust some specs so they reset the instance variable in the right place.