Created
December 20, 2017 16:17
-
-
Save phillijw/7c993c8dc345815a980a92416d1bbae8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IDatabase db = redis.GetDatabase(); | |
IBatch batch = db.CreateBatch(); | |
foreach (var filename in filenames) | |
{ | |
tasks.Add(batch.SortedSetAddAsync("files", filename, 0)); | |
} | |
batch.Execute(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment