Skip to content

Commit 4573841

Browse files
committed
[cache] clean up
1 parent 074b337 commit 4573841

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Quick.Core.Mvc.Middleware.Cache.pas

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ TCacheMiddleware = class(TRequestDelegate)
6262
private
6363
fCacheService : IDistributedCache;
6464
function GetResponseFromCache(aContext : THttpContextBase) : Boolean;
65-
function SaveResponseToCache(aContext: THttpContextBase; aDurationMS : Integer): Boolean;
65+
procedure SaveResponseToCache(aContext: THttpContextBase; aDurationMS : Integer);
6666
public
6767
constructor Create(aNext: TRequestDelegate; aCacheService : IDistributedCache);
6868
destructor Destroy; override;
@@ -104,7 +104,7 @@ function TCacheMiddleware.GetResponseFromCache(aContext: THttpContextBase): Bool
104104
end;
105105
end;
106106

107-
function TCacheMiddleware.SaveResponseToCache(aContext: THttpContextBase; aDurationMS : Integer): Boolean;
107+
procedure TCacheMiddleware.SaveResponseToCache(aContext: THttpContextBase; aDurationMS : Integer);
108108
var
109109
cacheitem : TResponseCacheItem;
110110
begin

0 commit comments

Comments
 (0)