parent
							
								
									16128bbac4
								
							
						
					
					
						commit
						569d18aef9
					
				|  | @ -555,7 +555,7 @@ func (app *App) configureRedis(configuration *configuration.Configuration) { | ||||||
| 			_, err := c.Do("PING") | 			_, err := c.Do("PING") | ||||||
| 			return err | 			return err | ||||||
| 		}, | 		}, | ||||||
| 		Wait: false, // if a connection is not avialable, proceed without cache.
 | 		Wait: false, // if a connection is not available, proceed without cache.
 | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	app.redis = pool | 	app.redis = pool | ||||||
|  | @ -997,7 +997,7 @@ func applyStorageMiddleware(driver storagedriver.StorageDriver, middlewares []co | ||||||
| 
 | 
 | ||||||
| // uploadPurgeDefaultConfig provides a default configuration for upload
 | // uploadPurgeDefaultConfig provides a default configuration for upload
 | ||||||
| // purging to be used in the absence of configuration in the
 | // purging to be used in the absence of configuration in the
 | ||||||
| // confifuration file
 | // configuration file
 | ||||||
| func uploadPurgeDefaultConfig() map[interface{}]interface{} { | func uploadPurgeDefaultConfig() map[interface{}]interface{} { | ||||||
| 	config := map[interface{}]interface{}{} | 	config := map[interface{}]interface{}{} | ||||||
| 	config["enabled"] = true | 	config["enabled"] = true | ||||||
|  |  | ||||||
|  | @ -39,7 +39,7 @@ func TestRedisBlobDescriptorCacheProvider(t *testing.T) { | ||||||
| 			_, err := c.Do("PING") | 			_, err := c.Do("PING") | ||||||
| 			return err | 			return err | ||||||
| 		}, | 		}, | ||||||
| 		Wait: false, // if a connection is not avialable, proceed without cache.
 | 		Wait: false, // if a connection is not available, proceed without cache.
 | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	// Clear the database
 | 	// Clear the database
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue