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
using System.Linq; | |
using Examine; | |
using Umbraco.Core.Persistence; | |
using Umbraco.Web; | |
using UmbracoExamine; | |
namespace Moriyama.PlasterCast.Examine.Indexer | |
{ | |
public class FasterInternalIndexer : UmbracoContentIndexer | |
{ |
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
using log4net; | |
using Moriyama.Core.Routing.ContentFinders; | |
using Moriyama.Core.Routing.UrlProviders; | |
using System.Reflection; | |
using Umbraco.Core; | |
using Umbraco.Web.Routing; | |
namespace Moriyama.Core.Events | |
{ | |
public class UmbracoBooter : IApplicationEventHandler |
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
public ActionResult GetFileStreamResult(UrlInformation urlInformation, HttpContext context) | |
{ | |
string url = urlInformation.Path; | |
string connection = ConfigurationManager.AppSettings["AzureBlobFileSystem.ConnectionString:media"]; | |
string containerName = ConfigurationManager.AppSettings["AzureBlobFileSystem.ContainerName:media"]; | |
CloudStorageAccount cloudStorageAccount = CloudStorageAccount.Parse(connection); | |
var client = cloudStorageAccount.CreateCloudBlobClient(); | |
var container = client.GetContainerReference(containerName); |
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
import http from 'k6/http'; | |
import { check, sleep } from 'k6'; | |
import { randomItem } from 'https://jslib.k6.io/k6-utils/1.2.0/index.js'; | |
export const options = { | |
stages: [ | |
{ duration: '30s', target: 20 }, | |
{ duration: '1m30s', target: 10 }, | |
{ duration: '20s', target: 0 }, |
OlderNewer