https://github.com/bigbuildbench/perrich_hangfire.memorystorage

https://github.com/bigbuildbench/perrich_hangfire.memorystorage

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.8%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: BigBuildBench
  • License: apache-2.0
  • Language: C#
  • Default Branch: master
  • Size: 92.8 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

Hangfire.MemoryStorage

A memory storage for Hangfire (http://hangfire.io).

It can be useful for testing purpose like check the behaviour and use it in a development environment. Please note that : * it should not be used in production (no integrity and no thread safe even if many cases are managed). * data are stored in memory using a dictionary in a static way (See Data created at the storage creation) * Hangfire has its own solution (see https://github.com/HangfireIO/Hangfire.InMemory)

How To use MemoryStorage

GlobalConfiguration.Configuration.UseMemoryStorage();

Example: Set a job now and execute.

Startup Class

```csharp

public void ConfigureServices(IServiceCollection services) { // Add This services.AddHangfire(config => { config.UseMemoryStorage(); }); }

public void Configure(IApplicationBuilder app, IHostingEnvironment env) {
// Add This app.UseHangfireDashboard(); app.UseHangfireServer(); }

```

```csharp static void Main(string[] args) {

BackgroundJob.Enqueue(() => System.IO.File.WriteAllText(@"..\test.txt","1")); } ```

OutPut:

test.txt
1

License:

Copyright 2015 - 2023 PERRICHOT Florian

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Owner

  • Name: BigBuildBench
  • Login: BigBuildBench
  • Kind: organization

abbr. B3, benchmarking the repo-level understanding capability of your LLMs by reconstructing project build-file.

GitHub Events

Total
  • Create event: 6
Last Year
  • Create event: 6

Dependencies

.github/workflows/build.yml actions
  • actions/checkout v3 composite
  • actions/setup-dotnet v3 composite
Hangfire.MemoryStorage.nuspec nuget
  • Hangfire.Core 1.7.35
src/Hangfire.MemoryStorage/Hangfire.MemoryStorage.csproj nuget
src/Hangfire.MemoryStorage.UnitTest/Hangfire.MemoryStorage.UnitTest.csproj nuget