Skip to content

Commit

Permalink
Merge pull request #18 from yusank/dev
Browse files Browse the repository at this point in the history
fix: action and docs
  • Loading branch information
yusank authored Apr 1, 2022
2 parents a31bd5b + 7069354 commit 56e8710
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 18 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,8 @@ on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '0 10,14,18,22 * * *'

- cron: '0 * * * *'
jobs:
analyze:
name: Analyze
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ name: github pages

on:
push:
branches:
- main # Set a branch to deploy
branches: [ main, dev]
pull_request:
branches: [ main ]


jobs:
deploy:
Expand Down
9 changes: 7 additions & 2 deletions docs/content/posts/bugs.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
---
weight: 2
weight: 1
bookFlatSection: true
title: "解决bug"
date: 2022-03-31
tags:
- "bugs"
categories:
- "Development"
- "bugs"
---

hello world.
> 记录开过过程中遇到的问题以及解决过程。
8 changes: 0 additions & 8 deletions docs/content/posts/version_alpha.md

This file was deleted.

4 changes: 2 additions & 2 deletions docs/content/posts/worker_pool.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
weight: 3
weight: 2
bookFlatSection: true
title: "实现异步并发 worker 队列"
date: 2022-04-01
Expand Down Expand Up @@ -523,7 +523,7 @@ func TestPool_SubmitOrEnqueue(t *testing.T) {
到这里这篇文章内容全部结束了,下面做一个简单的总结:

- 介绍背景和需求
- 根绝需求定义了一组概念`task`, `worker`, `workerSet`, `pool`
- 根据需求定义了一组概念`task`, `worker`, `workerSet`, `pool`
- 各个结构之前的关系以及如何实现
- 最终给出使用的 test case.

Expand Down

0 comments on commit 56e8710

Please sign in to comment.