Merge branch 'release/rc-v1.2.0' into bugifx/wizard
This commit is contained in:
commit
6fcb5eb605
@ -2384,16 +2384,16 @@ class FilesStore {
|
||||
isArchive
|
||||
);
|
||||
|
||||
const defaultRoomIcon =
|
||||
isRoom &&
|
||||
getIcon(
|
||||
iconSize,
|
||||
fileExst,
|
||||
providerKey,
|
||||
contentLength,
|
||||
roomType,
|
||||
isArchive
|
||||
);
|
||||
const defaultRoomIcon = isRoom
|
||||
? getIcon(
|
||||
iconSize,
|
||||
fileExst,
|
||||
providerKey,
|
||||
contentLength,
|
||||
roomType,
|
||||
isArchive
|
||||
)
|
||||
: undefined;
|
||||
|
||||
return {
|
||||
access,
|
||||
|
@ -117,7 +117,7 @@ public class Startup : BaseWorkerStartup
|
||||
boundedChannelCapacity = 100;
|
||||
}
|
||||
|
||||
services.AddSingleton(Channel.CreateBounded<IEnumerable<FileData<int>>>(new BoundedChannelOptions(boundedChannelCapacity) { SingleReader = true, SingleWriter = true }));
|
||||
services.AddSingleton(Channel.CreateBounded<IEnumerable<FileData<int>>>(new BoundedChannelOptions(boundedChannelCapacity) { SingleReader = true, SingleWriter = false }));
|
||||
services.AddSingleton(svc => svc.GetRequiredService<Channel<IEnumerable<FileData<int>>>>().Reader);
|
||||
services.AddSingleton(svc => svc.GetRequiredService<Channel<IEnumerable<FileData<int>>>>().Writer);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user