Browse Source

Caching fix

pull/1/head
Sebastian 9 years ago
parent
commit
82affa2136
  1. 2
      src/Squidex.Infrastructure.Redis/RedisSubscription.cs
  2. 1
      src/Squidex.Write/Contents/ContentCommandHandler.cs

2
src/Squidex.Infrastructure.Redis/RedisSubscription.cs

@ -38,7 +38,7 @@ namespace Squidex.Infrastructure.Redis
{ {
try try
{ {
var message = string.Join("#", (notifySelf ? Guid.Empty : InstanceId).ToString()); var message = string.Join("#", (notifySelf ? Guid.Empty : InstanceId).ToString(), token);
subscriber.Publish(channelName, message); subscriber.Publish(channelName, message);
} }

1
src/Squidex.Write/Contents/ContentCommandHandler.cs

@ -92,7 +92,6 @@ namespace Squidex.Write.Contents
Guard.Valid(command, nameof(command), message); Guard.Valid(command, nameof(command), message);
var taskForApp = appProvider.FindAppByIdAsync(command.AppId.Id); var taskForApp = appProvider.FindAppByIdAsync(command.AppId.Id);
var taskForSchema = schemas.FindSchemaByIdAsync(command.SchemaId.Id); var taskForSchema = schemas.FindSchemaByIdAsync(command.SchemaId.Id);
await Task.WhenAll(taskForApp, taskForSchema); await Task.WhenAll(taskForApp, taskForSchema);

Loading…
Cancel
Save