Refactor cache key generation to use stable hash codes for java objects arguments
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:convert';
|
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
import 'dart:isolate';
|
import 'dart:isolate';
|
||||||
import 'dart:math';
|
import 'dart:math';
|
||||||
@@ -448,14 +447,4 @@ class AniyomiBridge {
|
|||||||
}
|
}
|
||||||
return value.hashCode;
|
return value.hashCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// bool _isCacheable(JniIsolateMessageType messageType) {
|
|
||||||
// if (config.cacheDisabledMessageType.contains(messageType)){
|
|
||||||
// _logger.w("Endpoint $messageType is disabled for caching");
|
|
||||||
// return false;
|
|
||||||
// }
|
|
||||||
// return true;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user