Skip to content

Commit

Permalink
Replaced default parameters in ImageCache initializer with correct MB…
Browse files Browse the repository at this point in the history
… values.
  • Loading branch information
cnoon committed Jan 18, 2016
1 parent 04bc93a commit 166224e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ImageCache.swift
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public class AutoPurgingImageCache: ImageRequestCache {

- returns: The new `AutoPurgingImageCache` instance.
*/
public init(memoryCapacity: UInt64 = 100 * 1024 * 1024, preferredMemoryUsageAfterPurge: UInt64 = 60 * 1024 * 1024) {
public init(memoryCapacity: UInt64 = 100_000_000, preferredMemoryUsageAfterPurge: UInt64 = 60_000_000) {
self.memoryCapacity = memoryCapacity
self.preferredMemoryUsageAfterPurge = preferredMemoryUsageAfterPurge

Expand Down

0 comments on commit 166224e

Please sign in to comment.